:root {
    --primary-color: #008000;
    --secondary-color: #FFFFFF;
    --accent-color: #8b0000;
    --light-color: #f5f5f5;
    --dark-color: #008000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: auto;
}

.logo-text {
    color: white;
}

.logo-text h1 {
    font-size: 22px;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    opacity: 0.9;
}

.language-selector {
    color: white;
}

.language-selector select {
    padding: 5px;
    border-radius: 3px;
    border: none;
}

/* Navigation */
nav {
    background-color: var(--secondary-color);
    padding: 10px 0;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    height: 450px;
    background: linear-gradient(rgba(26, 62, 106, 0.7), rgba(26, 62, 106, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #c19b2e;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-img {
    height: 180px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* News Section */
.news-section {
    background-color: var(--light-color);
    padding: 50px 0;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}
.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-img {
    height: 200px;
    background-color: #ddd;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--accent-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section p, .footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* Services Page Specific Styles */
.page-header {
    background: linear-gradient(rgba(26, 62, 106, 0.8), rgba(26, 62, 106, 0.8)), url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    text-align: center;
    font-size: 50px;
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-content ul {
    list-style: none;
    margin: 15px 0;
    flex-grow: 1;
}

.service-content ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.process-section {
    background: var(--light-color);
    padding: 60px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.process-step {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50%;
    line-height: 60px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* About Page Specific Styles */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.about-text ul {
    list-style: none;
    margin: 20px 0;
}

.about-text ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.about-text ul li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--secondary-color);
    font-size: 20px;
}

.structure-chart {
    text-align: center;
}

.structure-level {
    margin: 20px 0;
}

.structure-position {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 0 10px;
    min-width: 200px;
}

.structure-level.multiple {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.structure-connector {
    width: 2px;
    height: 30px;
    background: var(--secondary-color);
    margin: 0 auto;
}

.team-section {
    background: var(--light-color);
    padding: 60px 0;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
}

.member-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}
/* Dynamic content styles */
.no-news, .no-publications {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.news-list .news-item {
    display: flex;
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-date {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    min-width: 80px;
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.news-date .month, .news-date .year {
    display: block;
    font-size: 14px;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
}

.news-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.news-meta i {
    margin-right: 5px;
}

.publication-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.publication-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.publication-content {
    flex-grow: 1;
}

.publication-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.publication-actions {
    margin-top: 15px;
}

.no-file {
    color: #999;
    font-style: italic;
}