/* Base Styles */
:root {
    --primary-color: #0f4c81;
    --secondary-color: #e55934;
    --accent-color: #f6c90e;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333333;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --gray-color: #6c757d;
    --light-gray: #f0f0f0;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

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

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

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

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

nav ul li a i {
    margin-right: 5px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(15, 76, 129, 0.9), rgba(15, 76, 129, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    background-image: linear-gradient(rgba(15, 76, 129, 0.9), rgba(15, 76, 129, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h2 {
    color: white;
    margin-bottom: 10px;
}

/* Featured Posts */
.featured-posts {
    padding: 80px 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.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: 20px;
}

.post-meta {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.post-meta span {
    margin-right: 15px;
}

.post-meta i {
    margin-right: 5px;
}

.post-content h3, .post-content h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.post-content p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

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

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Blog Posts */
.blog-posts {
    padding: 60px 0;
}

/* Newsletter */
.newsletter {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Fact Section */
.fact-section {
    padding: 40px 0;
}

.fact-box {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.fact-box h3 {
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.fact-box h3 i {
    margin-right: 10px;
    color: var(--accent-color);
}

.fact-box p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
    margin-bottom: 0;
}

.footer-links h4, .footer-legal h4, .footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-legal h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links ul li a, .footer-legal ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover, .footer-legal ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact address {
    font-style: normal;
    color: #aaa;
}

.footer-contact address p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact address p i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #aaa;
}

.social-links {
    display: flex;
}

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

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

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.team-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.team-member {
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: var(--box-shadow);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    margin-bottom: 5px;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.values-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

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

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.value-card h4 {
    margin-bottom: 15px;
}

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

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3, .contact-form-container h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.contact-details li {
    display: flex;
    margin-bottom: 20px;
}

.contact-details li i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-details li div h4 {
    margin-bottom: 5px;
}

.contact-details li div p {
    margin-bottom: 0;
    color: var(--gray-color);
}

.social-contact {
    margin-bottom: 30px;
}

.social-contact h4 {
    margin-bottom: 15px;
}

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

.contact-map h4 {
    margin-bottom: 15px;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    object-fit: cover;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

.form-check input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-check label a {
    text-decoration: underline;
}

/* Single Post */
.post-single {
    padding: 60px 0;
}

.post-header {
    margin-bottom: 30px;
}

.post-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    margin-bottom: 30px;
}

.post-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.post-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 10px;
    position: relative;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-quote {
    margin: 30px 0;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}

.post-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gray-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--dark-color);
    padding: 5px 12px;
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-share span {
    font-weight: 600;
    margin-right: 15px;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    color: var(--dark-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.post-nav-link {
    max-width: 45%;
}

.post-nav-link span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.post-nav-link a {
    font-weight: 600;
    font-size: 1.1rem;
}

.post-nav-prev {
    text-align: left;
}

.post-nav-next {
    text-align: right;
}

.related-posts {
    padding: 50px 0;
    background-color: var(--light-color);
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

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

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

.cookie-content h4 {
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

.cookie-more-info a {
    text-decoration: underline;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.success-modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-color);
}

.modal-content i {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
}

.modal-btn {
    min-width: 120px;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 30px;
        height: 400px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .post-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        margin: 0 5px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-nav-link {
        max-width: 100%;
    }
    
    .post-nav-next {
        text-align: left;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}
