:root {
    --primary-color: #2b667e;      /* Sage green */
    --secondary-color: #086661c2;    /* Lighter sage */
    --accent-color: #5caf2c;       /* Earthy brown */
    --text-color: #2e3e3f;         /* Dark blue-gray text */
    --light-text: #4a5e5f;         /* Medium-dark text */
    --dark-color: #0c5528ea;         /* Deep forest */
    --darker-text: #14352a;        /* Darker text for better visibility */
    
    /* New pale background colors */
    --bg-pale-blue: #e6f0f3;       /* Very pale blue */
    --bg-pale-green: #e6f0eb;      /* Very pale green */
    --bg-pale-teal: #e6f0ee;       /* Very pale teal */
    --bg-pale-mint: #e9f0e9;       /* Very pale mint */
    
    --border-color: #d0d8d8;       /* Light border */
    --card-bg: rgba(255, 255, 255, 0.85); /* Nearly white card background */
    --overlay: rgba(255, 255, 255, 0.3);  /* Light overlay */
    --shadow-light: rgba(0, 0, 0, 0.05);  /* Light shadow */
    --shadow-medium: rgba(0, 0, 0, 0.08); /* Medium shadow */
    
    --bg-section-one: #d7e8d7; /* Muted, light moss green */
    --bg-section-two: #deeeeb; /* Soft, light sky/water blue */
    --bg-section-three: #dff5f2; /* Light, warm clay/stone */
    --bg-contact-green: #d0e0d0; /* Updated: Lighter distinct soft green for Contact */

    --hamburger-menu-color: rgb(165, 230, 247); /* New color for hamburger menu icon */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-pale-mint); /* Changed body background */
    letter-spacing: 0.3px;
    font-size: 0.95rem; /* Base font size reduced */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem; /* Slightly reduced margin */
    color: var(--dark-color);
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 3rem 0; /* Reduced vertical padding */
    position: relative;
}

/* Header */
header {
    background-color: var(--secondary-color); /* Darker header background - Lighter Sage */
    box-shadow: 0 2px 10px var(--shadow-light);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    /* backdrop-filter: blur(10px); Removed for opaque background */
    border-bottom: 1px solid var(--dark-color); /* Added dark bottom border */
}

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

.logo a {
    color: var(--accent-color); /* This might need to change if too dark on new header */
}

.logo h1 {
    font-size: 1.6rem; /* Reduced from 1.8rem */
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white; /* Ensure logo text is light */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white; /* Default nav link color to white */
    font-weight: 500;
    position: relative;
    padding: 0.5em 1em;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* Added transform transition */
    display: inline-block; /* Needed for transform to work as expected */
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--dark-color); /* Darker text on hover/active for contrast with light bg */
    background-color: rgba(255, 255, 255, 0.8); /* Light background on hover/active */
    text-decoration: none;
    transform: scale(1.05); /* Subtle grow effect */
}

/* Style for the new subscribe button in nav */
.btn-subscribe-nav {
    padding: 0.5em 1em !important; 
    border-radius: 4px;
    margin-left: 1rem; /* Add some space from other nav items */
}

/* Main Content */
main {
    padding-top: 74px; /* Increased padding-top to accommodate header height */
}

/* Hero Section */
.hero {
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    height: 200px; /* Target height */
    min-height: auto; /* Ensure no conflict from previous min-height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Canvas for Hero Animation */
#hero-animation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Between hero-background (-1) and hero .container (2) */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/airview.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.9); /* Slightly brighter */
    color: white;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighter gradient, can be adjusted or changed to a solid transparent color */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%); 
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 2.2rem; /* Further reduced font size */
    margin-bottom: 0.4rem; /* Slightly reduced margin */
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero h2 {
    font-size: 2rem; /* Reduced from 2.2rem */
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero .tagline { /* Targeting .tagline specifically within .hero */
    font-size: 0.9rem; /* Further reduced font size */
    margin-bottom: 0;
    font-weight: 300;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* About Section */
.about {
    background-color: var(--bg-pale-blue); /* Standardized background */
    text-align: center;
    position: relative;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.feature {
    flex: 1;
    min-width: 250px;
    padding: 2rem; /* Adjusted padding */
    background-color: var(--card-bg);
    border-radius: 8px; /* Slightly reduced border-radius */
    box-shadow: 0 4px 15px var(--shadow-light); /* Softer shadow */
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-4px); /* Subtle lift */
    box-shadow: 0 6px 20px var(--shadow-medium); /* Slightly more pronounced shadow on hover */
    border-color: var(--primary-color); /* Highlight border on hover */
}

.feature i {
    font-size: 2.5rem; /* Reduced from 2.8rem */
    color: #4e89ae; /* Default blue if no specific class */
    margin-bottom: 1rem; /* Reduced from 1.2rem */
}

.feature h3 {
    font-size: 1.3rem; /* Reduced from 1.4rem */
    margin-bottom: 0.8rem; /* Reduced from 1rem */
    color: var(--dark-color);
}

.feature p {
    color: var(--text-color);
    font-size: 0.92rem; /* Added smaller font size */
}

/* Various natural icon colors for features and services */
.feature i.fa-home {
    color: #5a8c7b; /* Forest green */
}

.feature i.fa-shield-alt {
    color: #7e6e8c; /* Dusky lavender */
}

.feature i.fa-leaf {
    color: #6a9a65; /* Leaf green */
}

/* Coming Soon Section */
.coming-soon {
    background-color: var(--bg-section-one); /* Muted, light moss green */
    text-align: center;
    position: relative;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.service {
    flex: 1;
    min-width: 220px;
    padding: 1.8rem; /* Adjusted padding */
    background-color: var(--card-bg);
    border-radius: 8px; /* Slightly reduced border-radius */
    box-shadow: 0 4px 15px var(--shadow-light); /* Softer shadow */
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service:hover {
    transform: translateY(-3px); /* Subtle lift */
    box-shadow: 0 6px 20px var(--shadow-medium); /* Slightly more pronounced shadow on hover */
    border-color: var(--secondary-color); /* Highlight border on hover, using secondary for variation */
}

.service i {
    font-size: 2.1rem; /* Reduced from 2.3rem */
    color: #5e9c5e; /* Default green if no specific class */
    margin-bottom: 1rem; /* Reduced from 1.2rem */
}

.service h3 {
    font-size: 1.2rem; /* Reduced from 1.3rem */
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.service p {
    color: var(--text-color);
    font-size: 0.92rem; /* Added smaller font size */
}

/* Various natural icon colors for features and services */
.service i.fa-credit-card {
    color: #5f88b0; /* Steel blue */
}

.service i.fa-tint {
    color: #4a90c3; /* Water blue */
}

.service i.fa-book {
    color: #a07d53; /* Brown leather */
}

.service i.fa-newspaper {
    color: #5e9090; /* Teal */
}

/* Newsletter Section */
.newsletter {
    background-color: var(--bg-section-three); /* Changed to Light, warm clay/stone */
    text-align: center;
    position: relative;
}

.newsletter p {
    color: var(--darker-text); /* Revert to dark text for light background */
    font-weight: 500;
}

.newsletter h2 { /* Added rule */
    color: var(--dark-color); /* Revert to default dark h2 color */
    text-shadow: none; /* Remove shadow if not needed for light bg */
}

#subscription-form {
    max-width: 500px;
    margin: 2.5rem auto;
    display: flex;
    position: relative;
}

#subscription-form input {
    flex: 1;
    padding: 0.9rem 1rem; /* Slightly adjusted padding */
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
    border-radius: 5px 0 0 5px;
    font-size: 0.95rem; /* Consistent with body font-size */
    transition: all 0.3s ease;
}

#subscription-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(80, 125, 126, 0.2);
}

#subscription-form input::placeholder {
    color: rgba(46, 62, 63, 0.5);
}

#subscription-form button {
    padding: 0.9rem 1.8rem; 
    background-color: var(--dark-color); /* Changed to darker color */
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

#subscription-form button:hover {
    background-color: var(--accent-color);
}

#form-message {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 8px;
    min-height: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 1rem auto;
}

#form-message:empty {
    display: none;
}

#form-message.success {
    background-color: rgba(67, 160, 71, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(67, 160, 71, 0.2);
}

#form-message.error {
    background-color: rgba(211, 47, 47, 0.1);
    color: #c62828;
    border: 1px solid rgba(211, 47, 47, 0.2);
}

#form-message:not(.success):not(.error) {
    background-color: rgba(66, 66, 66, 0.1);
    color: #424242;
    border: 1px solid rgba(66, 66, 66, 0.2);
}

/* Location Section */
.location {
    background-color: var(--bg-pale-blue); /* Standardized background */
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.location-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
    position: relative;
}

.location-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: all 0.3s ease;
}

.location-image:hover {
    transform: scale(1.02); /* Keep a slight scale for interactivity */
}

.location-image img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Consistent border-radius */
    box-shadow: 0 4px 15px var(--shadow-light); /* Softer shadow */
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.location-image p {
    margin-top: 1rem;
    font-style: italic;
    color: var(--secondary-color);
}

.location-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    color: var(--text-color);
}

.location-map {
    margin: 3rem auto;
    max-width: 1000px;
    border-radius: 8px; /* Consistent border-radius */
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-light); /* Softer shadow */
    position: relative;
}

.location-map iframe {
    display: block;
    width: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Contact Section */
.contact {
    background-color: var(--bg-contact-green); /* Use new darker green */
    text-align: center;
    position: relative;
}

.contact > .container > p {
    color: var(--darker-text); /* Revert to dark text for light background */
    font-weight: 500;
}

.contact h2 { /* Added rule */
    color: var(--dark-color); /* Revert to default dark h2 color */
    text-shadow: none; /* Remove shadow for light bg */
}

.contact-info {
    max-width: 500px;
    margin: 2.5rem auto;
    background-color: var(--card-bg);
    padding: 2.5rem; /* Increased padding slightly for better spacing */
    border-radius: 8px; /* Standardized border-radius */
    box-shadow: 0 4px 15px var(--shadow-light); /* Standardized shadow */
    border: 1px solid var(--border-color); /* Standardized border */
}

.contact-info p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker-text);
    font-weight: 500;
}

.contact-info i {
    color: #c06c84; /* Default rose if no specific class */
    margin-right: 1rem;
    font-size: 1.3rem;
}

/* Various natural icon colors for features and services */
.contact-info i.fa-envelope {
    color: #7e6e8c; /* Dusky lavender */
}

.contact-info i.fa-phone {
    color: #6a9a65; /* Leaf green */
}

.contact-info i.fa-map-marker-alt {
    color: #c06c84; /* Rose */
}

/* Contact Form Styling */
#contact-form {
    max-width: 600px; /* Reduced max-width */
    margin: 2rem auto;
    padding: 1.5rem; /* Reduced padding */
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1rem; 
    text-align: left; /* Ensure form groups align their content (label/input) to the left */
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem; 
    color: var(--darker-text);
    font-weight: 600;
    font-size: 0.85rem; 
    text-align: left; /* Ensure labels are left-aligned */
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem; /* Reduced padding */
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--text-color);
    border-radius: 5px;
    font-size: 0.9rem; /* Adjusted font size */
    transition: all 0.3s ease;
    text-align: left; /* Explicitly align text to the left */
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(80, 125, 126, 0.2);
}

#contact-form textarea {
    min-height: 100px; /* Reduced min-height */
    resize: vertical;
}

#contact-form .btn-submit {
    display: block;
    width: auto;
    padding: 0.8rem 1.8rem; 
    background-color: var(--dark-color); /* Changed to darker color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 1rem; /* Add some space above the button */
}

#contact-form .btn-submit:hover {
    background-color: var(--accent-color);
}

#contact-form-status { /* Enhanced for modal-like toast message */
    max-width: 600px; /* Match form width */
    margin: 1.5rem auto 0;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    position: relative; /* For potential absolute positioning of a close button if added later */
    z-index: 1001; /* Above other content, below a true modal overlay if one existed */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden; /* Start hidden */
}

#contact-form-status.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#contact-form-status.success {
    background-color: rgba(76, 175, 80, 0.85); /* Green, semi-transparent */
    color: white;
    border: 1px solid rgba(56, 142, 60, 0.9);
}

#contact-form-status.error {
    background-color: rgba(244, 67, 54, 0.85); /* Red, semi-transparent */
    color: white;
    border: 1px solid rgba(211, 47, 47, 0.9);
}

/* Remove old :empty and :not styles for #form-message if they target this ID by mistake */
/* #form-message:empty, #form-message:not(.success):not(.error) - Check if these exist and target #contact-form-status */

.contact-info-alt {
    text-align: center;
    margin-top: 3rem;
}

.contact-info-alt p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker-text);
    font-weight: 500;
}

.contact-info-alt i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color); /* Match header background - Lighter Sage */
    color: white; /* Main text white for contrast */
    padding: 2.5rem 0 1.5rem; /* Adjusted padding */
    border-top: 1px solid var(--text-color); /* Changed to a darker border */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo h2 {
    color: var(--bg-pale-blue); /* Lighter logo color */
    margin-bottom: 0;
    letter-spacing: 1px;
    font-size: 1.4rem; /* Reduced from 1.5rem */
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.footer-links a {
    color: white; /* Light link text */
    font-size: 0.85rem; /* Reduced from 0.9rem */
    padding: 0.5em 1em; /* Match header links for bg space */
    position: relative;
    display: inline-block; /* Added for transform and padding consistency */
    border-radius: 4px;    /* Added for background shape on hover */
    text-decoration: none; /* Ensuring no underline */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* Match header transition */
}

.footer-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    color: rgba(230, 240, 243, 0.4); /* Semi-transparent pale blue separator */
}

.footer-links a:hover {
    color: var(--dark-color); /* Match header hover text color */
    background-color: rgba(255, 255, 255, 0.8); /* Match header hover background */
    text-decoration: none; /* Match header hover */
    transform: scale(1.05); /* Match header hover transform */
}

/* Style for the new subscribe button in footer */
.btn-subscribe-footer {
    color: white; /* Base color, will be inherited but good to be explicit */
    padding: 0.4em 0.8em; /* Keep its specific padding */
    border-radius: 4px;   /* Keep its specific border-radius, now matches general links */
    text-decoration: none; /* Base, will be inherited */
    margin-left: 1rem; /* Add some space from other footer items if it's not already spaced by gap */
}

.footer-contact p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    font-size: 0.85rem; /* Reduced from 0.9rem */
    color: white; /* Light text */
}

.footer-contact i {
    color: var(--bg-pale-blue); /* Lighter icon color */
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--bg-pale-blue); /* Lighter border */
    padding-top: 1.5rem; /* Increased padding */
    text-align: center;
    font-size: 0.8rem; /* Reduced from 0.9rem */
    color: var(--bg-pale-blue); /* Lighter text for copyright */
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        margin: 0.5rem 0;
    }
    
    .footer-contact {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Image Sections */
.section-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 40px var(--shadow-medium);
    margin: 2.5rem 0;
    transition: all 0.3s ease;
}

.small-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px var(--shadow-medium);
    transition: all 0.3s ease;
}

.medium-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.aerial-view {
    margin: 2.5rem 0;
    text-align: center;
    position: relative;
}

/* Improve section headings readability */
section h2 {
    font-size: 2rem; /* Was 2.2rem */
    color: var(--dark-color);
    margin-bottom: 2.5rem; /* Increased bottom margin for more space */
    position: relative;
    display: inline-block; /* Keeps it from taking full width if not centered */
    padding-bottom: 0; /* Remove padding if ::after is removed */
    text-align: center; /* Ensure section titles are centered */
}

section h2::after {
    content: ""; /* Effectively removes the underline by making it empty */
    /* display: none; Or remove the rule altogether */
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 0; /* No height for the line */
    background: var(--primary-color);
}

/* Improve paragraph readability */
section p {
    font-size: 0.95rem; /* Reduced from 1.05rem */
    line-height: 1.65;
    max-width: 900px;
    margin: 0 auto;
}

.coming-soon h2, .location h2, .newsletter h2, .contact h2 {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-background {
        background-position: 60% center;
    }
    
    .hero h1 {
        font-size: 2.2rem; /* Reduced from 2.3rem */
    }
    
    .hero h2 {
        font-size: 1.4rem; /* Reduced from 1.6rem */
    }
    
    .feature, .service {
        min-width: 100%;
    }
    
    .medium-image,
    .small-image {
        max-width: 100%;
    }
    
    #subscription-form {
        flex-direction: column;
    }
    
    #subscription-form input {
        border-radius: 5px;
        margin-bottom: 0.8rem;
    }
    
    #subscription-form button {
        border-radius: 5px;
        padding: 1rem;
    }
    
    .location-images {
        flex-direction: column;
        align-items: center;
    }
    
    .location-image {
        margin-bottom: 2rem;
    }
    
    .location-map {
        margin: 2rem auto;
    }
    
    .location-map iframe {
        height: 300px;
    }
    
    section h2 {
        font-size: 1.8rem; /* Reduced for mobile */
    }
    
    .hero .tagline {
        font-size: 1rem; /* Reduced from 1.1rem */
    }
}

/* Header and Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--hamburger-menu-color); /* Use new specific color */
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Main navigation styles */
nav {
    transition: all 0.3s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav#main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--secondary-color); /* Match header background */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        z-index: 1000;
        transition: right 0.3s ease;
    }
    
    nav#main-nav.active {
        right: 0;
    }
    
    nav#main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav#main-nav ul li {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    nav#main-nav ul li a {
        display: block;
        padding: 10px 15px; /* Added some horizontal padding for text */
        width: 100%;
        font-weight: 600; /* Made font bolder */
        margin-left: 0 !important; /* Override desktop margin for all mobile nav links, including .btn-subscribe-nav */
        /* Ensure text color is explicitly white if needed, though inherited should be fine */
        /* color: white; */ 
    }
    
    /* Explicitly reset margin for .btn-subscribe-nav on mobile if the above is not enough */
    /* nav#main-nav ul li a.btn-subscribe-nav {
        margin-left: 0;
    } */
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Improved countdown for mobile */
    #countdown {
        flex-wrap: wrap;
        gap: 0.7rem;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 0.8rem 0.5rem;
        width: calc(50% - 0.7rem);
        margin-bottom: 0.5rem;
    }
    
    .countdown-item span {
        font-size: 1.4rem; /* Reduced from 1.5rem */
    }
    
    .countdown-item p {
        font-size: 0.75rem; /* Reduced from 0.8rem */
        margin-bottom: 0;
    }
    
    .hero h1 {
        font-size: 2.2rem; /* Reduced from 2.3rem */
    }
    
    .hero .tagline {
        font-size: 1rem; /* Reduced from 1.1rem */
    }
}

/* Accordion Styles for Reglamento Page */
.accordion-container {
    margin-top: 2rem;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-title {
    background-color: var(--bg-section-one); /* Light moss green, adjust as needed */
    color: var(--dark-color);
    cursor: pointer;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    position: relative;
}

.accordion-title::after {
    content: '\002B'; /* Plus sign */
    color: var(--dark-color);
    font-weight: bold;
    float: right;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.accordion-title.active::after {
    content: "\2212"; /* Minus sign */
    transform: rotate(180deg); /* Optional: can remove if minus sign is enough */
}

.accordion-title:hover {
    background-color: var(--bg-section-two); /* Slightly different shade on hover */
}

.accordion-title.active {
    background-color: var(--bg-section-two); /* Consistent active state with hover */
}

.accordion-content {
    padding: 0 1.5rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* Added padding transition */
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

/* Add padding when content is shown */
.accordion-content.open {
    padding: 1.5rem;
}

.accordion-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 0.9rem;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.document-header-footer {
    background-color: var(--bg-pale-mint); /* Or another subtle background */
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--light-text);
    border: 1px solid var(--border-color);
}

.document-header-footer p {
    margin-bottom: 0.5rem;
}

.document-header-footer p:last-child {
    margin-bottom: 0;
}

/* Styling for the new text content page general layout */
.text-content-page .container {
    background-color: #fff; /* White background for the main content box */
    padding: 2rem; /* Padding inside the container */
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-light);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.text-content-page h2 {
    margin-bottom: 2rem;
    text-align: center;
} 