/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section */
.section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    color: #2c5530;
}

h2 {
    font-size: 2rem;
    color: #2c5530;
}

h3 {
    font-size: 1.5rem;
    color: #2c5530;
}

p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #4a7c59;
    color: white;
    border-color: #4a7c59;
}

.btn-primary:hover {
    background-color: #2c5530;
    border-color: #2c5530;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.btn-outline {
    background-color: transparent;
    color: #4a7c59;
    border-color: #4a7c59;
}

.btn-outline:hover {
    background-color: #4a7c59;
    color: white;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5530;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4a7c59;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4a7c59;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c5530;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c5530;
    margin-bottom: 15px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #2c5530;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4a7c59;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-icon {
    width: 200px;
    height: 200px;
}

/* Goals Section */
.goals {
    background-color: #f8f9fa;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.goal-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #4a7c59;
}

.goal-card h3 {
    color: #2c5530;
    margin-bottom: 15px;
}

/* Success Section */
.success-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4a7c59;
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.stat-description {
    font-size: 0.9rem;
    color: #666;
}

/* Team Preview */
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.team-member-preview {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Contact Preview */
.contact-preview {
    background-color: #f8f9fa;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    gap: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background-color: #2c5530;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #4a7c59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #66a182;
}

.social-links img {
    width: 20px;
    height: 20px;
 
}

.footer-bottom {
    border-top: 1px solid #4a7c59;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* About Page Specific */
.about-detailed {
    padding: 80px 0;
}

.about-story {
    margin-bottom: 60px;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.story-icon {
    width: 150px;
    height: 150px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.mission, .vision {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.mv-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.value-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reason {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #4a7c59;
}

/* Services Page Specific */
.services-detailed {
    padding: 80px 0;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.service-detailed {
    margin-bottom: 80px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detailed:nth-child(even) .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-detailed:nth-child(even) .service-image {
    order: -1;
}

.service-icon-large {
    width: 200px;
    height: 200px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a7c59;
    font-weight: bold;
}

.service-cta {
    text-align: center;
    background: #f8f9fa;
    padding: 60px;
    border-radius: 15px;
    margin-top: 60px;
}

/* Team Page Specific */
.team-detailed {
    padding: 80px 0;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.team-members {
    margin-bottom: 80px;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.member-icon {
    width: 150px;
    height: 150px;
}

.member-role {
    color: #4a7c59;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.specialty {
    background: #e8f5e8;
    color: #2c5530;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.team-values {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.team-cta {
    text-align: center;
    background: #f8f9fa;
    padding: 60px;
    border-radius: 15px;
}

/* Progress Page Specific */
.progress-detailed {
    padding: 80px 0;
}

.progress-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.stats-section {
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.projects-section {
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.project-image {
    padding: 40px;
    background: #f8f9fa;
    text-align: center;
}

.project-icon {
    width: 80px;
    height: 80px;
}

.project-content {
    padding: 30px;
}

.project-type {
    color: #4a7c59;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature {
    background: #e8f5e8;
    color: #2c5530;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Timeline */
.timeline-section {
    margin-bottom: 80px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #4a7c59;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: calc(50% - 30px);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 30px);
}

.timeline-year {
    position: absolute;
    top: 20px;
    background: #4a7c59;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -80px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -80px;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -30px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -30px;
    border-right-color: white;
}

/* Awards */
.awards-section {
    margin-bottom: 80px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.award-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid #4a7c59;
}

.award-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.progress-cta {
    text-align: center;
    background: #f8f9fa;
    padding: 60px;
    border-radius: 15px;
}

/* Contact Page Specific */
.contact-detailed {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contact-info-section h2 {
    margin-bottom: 40px;
}

.contact-item-detailed {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-detail-icon {
    width: 30px;
    height: 30px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-detail-content h3 {
    margin-bottom: 10px;
    color: #2c5530;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.social-section {
    margin: 40px 0;
}

.social-links-detailed {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background: #e8f5e8;
}

.social-link img {
    width: 20px;
    height: 20px;
}

.business-hours {
    margin-top: 40px;
}

.hours-grid {
    margin-top: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.day {
    font-weight: 500;
}

.time {
    color: #4a7c59;
    font-weight: 600;
}

/* Contact Form */
.contact-form-section h2 {
    margin-bottom: 20px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #4a7c59;
    border-color: #4a7c59;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.form-submit {
    width: 100%;
    margin-top: 20px;
    position: relative;
}

.form-submit.loading .btn-text {
    opacity: 0;
}

.form-submit.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-message {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.success-message {
    border-left: 4px solid #28a745;
}

.error-message-box {
    border-left: 4px solid #dc3545;
}

.message-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* FAQ */
.faq-section {
    background: #f8f9fa;
    padding: 60px 40px;
    border-radius: 15px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Thanks Page Specific */
.thanks-section {
    padding: 150px 0 100px;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 30px;
}

.success-icon {
    width: 100px;
    height: 100px;
}

.thanks-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.thanks-details {
    margin: 60px 0;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.step-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.thanks-contact {
    margin: 60px 0;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.urgent-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-hours {
    font-size: 0.9rem;
    color: #666;
}

.thanks-navigation {
    margin: 60px 0;
}

.helpful-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.link-button:hover {
    border-color: #4a7c59;
    transform: translateY(-2px);
}

.link-icon {
    width: 24px;
    height: 24px;
}

.thanks-tips {
    margin: 60px 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tip-card {
    background: #e8f5e8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.tip-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.back-button {
    margin-top: 50px;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.legal-meta {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #4a7c59;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #2c5530;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.legal-section h3 {
    color: #4a7c59;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-contact {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 8px;
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    z-index: 1001;
    border-top: 3px solid #4a7c59;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: #2c5530;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.cookie-modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-category p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.cookies-table {
    margin: 30px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.cookie-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c5530;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-settings-btn,
.cookie-actions {
    margin: 30px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .service-detailed:nth-child(even) .service-image {
        order: 0;
    }
    
    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        left: 40px;
    }
    
    .timeline-item:nth-child(even) {
        left: 40px;
    }
    
    .timeline-year {
        position: relative;
        left: auto !important;
        right: auto !important;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .timeline-content::after {
        display: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .helpful-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links-detailed {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .urgent-contact {
        grid-template-columns: 1fr;
    }
    
    .contact-option {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-document {
        padding: 40px 30px;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .goals-grid,
    .values-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .success-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legal-document {
        padding: 30px 20px;
    }
    
    .cookie-modal-content {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.goal-card,
.stat-card,
.team-member-preview,
.value-card,
.project-card,
.award-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .service-card,
    .goal-card,
    .stat-card {
        border: 1px solid #000;
    }
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .hamburger {
        display: none !important;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    a {
        text-decoration: underline;
    }
}
