/* Base Styles */
:root {
    --primary-color: #5dcfb1; /* Teal/mint green from logo */
    --primary-light: #a7e9d9;
    --primary-dark: #3a9c83;
    --secondary-color: #fffbcc; /* Light yellow from logo */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-medium: #666666;
    --background-light: #f8f9fa;
    --background-medium: #eaeaea;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --template-header-color: #7D55C7;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
a {
    text-decoration: none;
    color: var(--primary-dark);
}

@media (prefers-reduced-motion: no-preference) {
    a {
        transition: color 0.3s ease;
    }
}

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

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Template Header */
.template-header {
    width: 100%;
    display: flex;
    background-color: var(--template-header-color);
    height: 65px;
}

.template-header-logo {
    flex: 0 0 26.923%; /* 3.5 / 13 = 26.923% */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.template-logo-img {
    width: 275px;
    height: 50px;
    object-fit: contain;
}

.template-header-space {
    flex: 0 0 73.077%; /* 9.5 / 13 = 73.077% */
    background-color: var(--template-header-color);
}


/* Navigation */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .nav-link:after {
        transition: width 0.3s ease;
    }
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
}

@media (prefers-reduced-motion: no-preference) {
    .mobile-menu-toggle span {
        transition: transform 0.3s ease;
    }
}

/* Mobile navigation styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 5px 10px var(--shadow-color);
        opacity: 0;
        transform: translateY(-20px);
        z-index: 999;
    }

    @media (prefers-reduced-motion: no-preference) {
        .nav-links {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Add to form_stylesheet.css */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-nav {
    width: 100%;
}

.container {
    display: flex;
    justify-content: center;
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Template Footer */
.template-footer {
    width: 100%;
    height: 180px;
    background-color: #000000;
    display: flex;
    align-items: center;
}

.template-footer-logos {
    flex: 0 0 29.167%; /* 3.5 / 12 = 29.167% */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 15px;
}

.template-footer-logo1 {
    width: 245px;
    height: 85px;
    object-fit: contain;
}

.template-footer-logo2 {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.template-footer-spacer1 {
    flex: 0 0 8.333%; /* 1 / 12 = 8.333% */
}

.template-footer-social {
    flex: 0 0 20.833%; /* 2.5 / 12 = 20.833% */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
    .social-icon {
        transition: opacity 0.3s ease;
    }
}

.social-icon:hover {
    opacity: 0.7;
}

.template-footer-spacer2 {
    flex: 0 0 4.167%; /* 0.5 / 12 = 4.167% */
}

.template-footer-copyright {
    flex: 0 0 37.5%; /* 4.5 / 12 = 37.5% */
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-footer-copyright p {
    width: 100%;
    max-width: 410px;
    height: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    line-height: 20px;
}

/* Mobile responsive for template footer */
@media screen and (max-width: 992px) {
    .template-footer {
        height: auto;
        min-height: 180px;
        flex-wrap: wrap;
        padding: 20px 10px;
    }

    .template-footer-logos {
        flex: 0 0 50%;
        justify-content: flex-start;
    }

    .template-footer-spacer1 {
        display: none;
    }

    .template-footer-social {
        flex: 0 0 50%;
        justify-content: flex-end;
        padding-right: 20px;
    }

    .template-footer-spacer2 {
        display: none;
    }

    .template-footer-copyright {
        flex: 0 0 100%;
        margin-top: 20px;
    }

    .template-footer-copyright p {
        width: 100%;
        max-width: 410px;
    }
}

@media screen and (max-width: 576px) {
    .template-footer-logos {
        flex: 0 0 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .template-footer-logo1 {
        width: 180px;
        height: auto;
    }

    .template-footer-social {
        flex: 0 0 100%;
        justify-content: center;
        padding-right: 0;
    }
}