/* --- Variable Definitions --- */
:root {
    --color-primary: #34a953;
    --color-primary-dark: #2f8f4a;
    --color-primary-light: #eaf6ec;
    --color-heading: #1a202c;
    --color-text: #4a5568;
    --color-light-bg: #f7fafc;
    --color-dark-bg: #1a202c;
    --color-border: #e2e8f0;
    --font-main: 'Manrope', sans-serif;
    --transition-speed: 300ms;
}

/* --- Page Load Animation --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Base & Typography --- */
body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: #ffffff;
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    color: var(--color-heading);
    font-weight: 800;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 0.5em;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    padding-bottom: 10px;
    margin-bottom: 1em;
    border-bottom: 3px solid var(--color-primary-light);
}

p.subtitle {
    font-size: 1.15rem;
    color: var(--color-text);
    max-width: 650px;
    margin: 0 auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Header & Navigation --- */
.site-header {
    padding: 1.5em 0;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 50px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2em; margin: 0; }

.nav-list a {
    text-decoration: none;
    color: var(--color-heading);
    font-weight: 700;
    transition: color var(--transition-speed) ease;
    position: relative;
    padding: 5px 0;
}
.nav-list a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.nav-list a:hover::after, .nav-list a.active-nav::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-button {
    background-color: var(--color-primary);
    color: #fff !important;
    padding: 0.8em 1.5em;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(52, 169, 83, 0.2);
}
.nav-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 169, 83, 0.3);
}

.nav-icon-button {
    padding: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5em;
    color: var(--color-heading);
}
.mobile-nav-toggle .icon-close { display: none; }

/* --- Hero Section Styling --- */
.section-header {
    text-align: center;
    padding: 4rem 0;
    background-color: var(--color-light-bg);
    margin-bottom: 4rem;
    animation: fadeInUp 500ms ease-out forwards;
}

/* --- Main Contact Section --- */
.contact-section {
    padding: 0 0 4em 0;
}

/* --- Contact Grid Layout --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5em;
    animation: fadeInUp 500ms ease-out 200ms forwards;
    opacity: 0;
}

@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 2fr 1fr; }
}

/* --- Themed Card Styling --- */
.form-container, .contact-details {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    transition: all var(--transition-speed) ease;
}
.form-container:hover, .contact-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.12);
}

/* --- Form Container --- */
.form-container {
    position: relative;
    padding: 2.5em;
}

#apps-script-form {
    width: 100%; height: 100%; min-height: 400px;
    border: none; background-color: transparent;
}

/* --- Contact Details --- */
.contact-details {
    padding: 2em;
}

.contact-info-list { list-style: none; padding: 0; margin: 1.5em 0; }

.contact-info-list li {
    margin-bottom: 0.5em;
}

.contact-info-list a, .contact-info-list span {
    text-decoration: none;
    color: var(--color-text);
    display: flex; align-items: center; gap: 1em;
    font-weight: 500;
    transition: color var(--transition-speed);
    padding: 0.8em;
    border-radius: 6px;
}
.contact-info-list a:hover {
    color: var(--color-primary-dark);
    background-color: var(--color-primary-light);
}
.contact-info-list svg { color: var(--color-primary); flex-shrink: 0; }

/* --- Social Media --- */
.social-media h3 { margin-top: 2em; margin-bottom: 1em; font-size: 1.2rem; }
.social-media-links { display: flex; align-items: center; gap: 1em; }

.social-media-links a {
    display: inline-block;
    padding: 0.5em;
    border-radius: 50%;
    transition: background-color var(--transition-speed) ease;
}
.social-media-links a:hover {
    background-color: var(--color-primary-light);
}
.social-media-links a svg { 
    width: 26px; height: 26px; color: var(--color-text);
    transition: all var(--transition-speed) ease;
    display: block;
}
.social-media-links a:hover svg { 
    color: var(--color-primary-dark);
    transform: scale(1.1);
}

/* --- Map Container --- */
.map-container {
    margin-top: 4em;
    text-align: center;
    animation: fadeInUp 500ms ease-out 400ms forwards;
    opacity: 0;
}
.map-container iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-dark-bg);
    color: var(--color-light-bg);
    padding: 3em 0;
    margin-top: 4em;
    text-align: center;
}
.footer-content { display: flex; flex-direction: column; gap: 1em; }
.footer-nav { list-style: none; padding: 0; display: flex; justify-content: center; gap: 1.5em; }
.footer-nav a { color: var(--color-light-bg); text-decoration: none; transition: color var(--transition-speed); }
.footer-nav a:hover { color: var(--color-primary); }

/* --- Responsive Styles for Mobile --- */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    .section-header { padding: 3rem 1rem; }
}

@media(min-width: 768px) {
    .footer-content { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 768px) {
    .mobile-nav-toggle { display: block; z-index: 9999; }
    
    .nav-list {
        position: fixed; inset: 0 0 0 30%;
        flex-direction: column; padding: min(20vh, 10rem) 2em; gap: 2em;
        background: hsla(0, 0%, 100%, 0.9);
        backdrop-filter: blur(1rem);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }
    
    .nav-list[data-visible="true"] { transform: translateX(0%); }

    .mobile-nav-toggle[aria-expanded="true"] .icon-hamburger { display: none; }
    .mobile-nav-toggle[aria-expanded="true"] .icon-close { display: block; }

    .nav-icon-button {
        padding: 0.7em;
    }
}

/* Skeleton loader remains unchanged */
#skeleton-loader{position:absolute;top:2.5em;left:2.5em;width:calc(100% - 5em);height:calc(100% - 5em);background-color:#fff;border-radius:0}.skeleton-item{background-color:#e2e8f0;border-radius:4px;margin-bottom:1.5em}.skeleton-label{width:30%;height:20px}.skeleton-input{width:100%;height:50px}.skeleton-button{width:40%;height:50px;margin-top:2em;background-color:var(--color-primary);opacity:.5}