/* Main Variables */
:root {
    --primary-color: #1ca876;
    --secondary-color: #0d4d6d;
    --accent-color: #f7b731;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --medium-bg: #eef1f5;
    --dark-bg: #34495e;
    --border-color: #e1e4e8;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

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

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #168d64;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0a3d57;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-white:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.875rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.logo img {
    max-height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 9rem 0 5rem;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    max-width: 500px;
    flex-shrink: 0;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--light-bg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Latest Posts Section */
.latest-posts {
    padding: 5rem 0;
    background-color: var(--medium-bg);
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--secondary-color);
}

.view-all {
    margin-top: 3rem;
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    z-index: 999;
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-more-info {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: var(--white);
    margin: 10vh auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-lighter);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 168, 118, 0.1);
}

.form-group.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.form-group.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.full-width {
    grid-column: 1 / -1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Page Header */
.page-header {
    padding: 9rem 0 3rem;
    background-color: var(--light-bg);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.25rem;
}

/* Blog Page Styles */
.blog-content {
    padding: 5rem 0;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-post .post-image {
    height: 400px;
}

.blog-post .post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.post-tags span {
    background-color: var(--light-bg);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.875rem;
}

/* About Page Styles */
.about-mission,
.about-history {
    padding: 5rem 0;
}

.about-mission .container,
.about-history .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-content h2,
.history-content h2 {
    margin-bottom: 1.5rem;
}

.mission-image img,
.history-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.team-section,
.values-section,
.partners-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    font-size: 1.25rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.team-member p {
    margin: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.member-social {
    display: flex;
    gap: 1rem;
    margin: 0 1.5rem 1.5rem;
}

.member-social a {
    color: var(--text-lighter);
    transition: var(--transition);
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-icon svg {
    width: 48px;
    height: 48px;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.partner-logo img {
    max-height: 60px;
    width: auto;
}

/* Terminology Page Styles */
.terminology-intro {
    padding: 3rem 0;
}

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

.search-container {
    display: flex;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-container input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: none;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-btn:hover {
    background-color: var(--secondary-color);
}

.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.filter-item {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.filter-item:hover,
.filter-item.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.terminology-content {
    padding: 3rem 0 5rem;
}

.term-category {
    margin-bottom: 3rem;
}

.term-category h2 {
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.term-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.term-item h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.term-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-connect {
    margin-top: 3rem;
}

.social-connect h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-form-container {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.map-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background-color: var(--white);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    height: auto;
}

.thank-you-content {
    text-align: center;
}

.thank-you-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--success-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .features-grid,
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-mission .container,
    .about-history .container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-history .container {
        flex-direction: column-reverse;
    }
    
    .history-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        gap: 0;
        z-index: 1000;
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 1.5rem;
    }
    
    nav ul li a.active::after {
        display: none;
    }
    
    nav ul li a.active {
        background-color: var(--primary-color);
        color: var(--white);
    }
    
    .hamburger {
        display: flex;
    }
    
    .features-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}
