/* Base Styles */
:root {
    --primary-color: #1f4e79;
    --secondary-color: #4a86c5;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f1c40f;
    --info-color: #3498db;
    --font-main: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 4px;
    --radius-lg: 8px;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

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

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

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

nav ul li a {
    font-weight: 500;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
}

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

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(31, 78, 121, 0.8), rgba(31, 78, 121, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

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

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

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

.posts-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 20px;
}

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

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.post-excerpt {
    margin-bottom: 15px;
    color: var(--text-light);
}

.read-more {
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

/* Investment Stats Section */
.investment-stats {
    padding: 80px 0;
    background-color: white;
}

.investment-stats h2 {
    text-align: center;
    margin-bottom: 40px;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
}

.chart-description {
    text-align: center;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
}

/* Subscription Section */
.subscription {
    padding: 80px 0;
    background: linear-gradient(rgba(31, 78, 121, 0.9), rgba(31, 78, 121, 0.9)), url('images/subscribe-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.subscription h2 {
    color: white;
    margin-bottom: 20px;
}

.subscription p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
}

.subscribe-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: #e67e22;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-links h3, 
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

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

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

.footer-contact p i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

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

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

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.cookie-content p a {
    color: var(--accent-color);
    text-decoration: underline;
}

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

.btn-cookie {
    padding: 8px 15px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.customize {
    background-color: var(--info-color);
    color: white;
}

.btn-cookie.decline {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-cookie:hover {
    opacity: 0.9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

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

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

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(31, 78, 121, 0.8), rgba(31, 78, 121, 0.8)), url('images/page-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

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

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

/* About Page Styles */
.about-section {
    padding: 80px 0;
    background-color: white;
}

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

.about-text h2 {
    margin-bottom: 30px;
}

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

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.team-member {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
}

.team-member p {
    color: var(--text-light);
    padding: 0 20px;
    margin-bottom: 15px;
}

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

.social-links {
    display: flex;
    justify-content: center;
    margin: 15px 0 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--bg-light);
    margin: 0 5px;
    transition: var(--transition);
    color: var(--primary-color);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.achievements-section {
    padding: 80px 0;
    background-color: white;
}

.achievements-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.achievement-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.achievement-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.achievement-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

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

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

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

.contact-info h2,
.contact-form-container h2 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    min-width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-right: 15px;
}

.info-text h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

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

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

.form-group.full-width {
    grid-column: span 2;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(31, 78, 121, 0.2);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.map-section {
    padding: 80px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.subscribe-section {
    padding: 80px 0;
    background: linear-gradient(rgba(31, 78, 121, 0.9), rgba(31, 78, 121, 0.9)), url('images/subscribe-bg.jpg');
    background-size: cover;
    background-position: center;
}

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

.subscribe-text h2 {
    color: white;
    margin-bottom: 20px;
}

.subscribe-text p {
    color: rgba(255, 255, 255, 0.9);
}

/* Blog Post Styles */
.blog-post {
    padding: 80px 0;
}

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

.post-header h1 {
    margin-bottom: 15px;
}

.post-meta {
    color: var(--text-light);
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

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

.post-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.post-content h2 {
    margin-top: 40px;
}

.post-content h3 {
    margin-top: 30px;
}

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

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

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--bg-light);
    border-radius: 30px;
    margin: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

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

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

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

.related-posts h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.related-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 250px;
}

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

.related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 1.1rem;
    transition: var(--transition);
}

.related-card:hover h3 {
    background: rgba(31, 78, 121, 0.9);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .about-content,
    .subscribe-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .posts-section,
    .investment-stats,
    .subscription,
    .about-section,
    .team-section,
    .achievements-section,
    .contact-section,
    .map-section {
        padding: 50px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .achievement-card h3 {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .post-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .subscribe-form {
        flex-direction: column;
        border-radius: 0;
    }
    
    .subscribe-form input {
        border-radius: var(--radius) var(--radius) 0 0;
    }
    
    .subscribe-form button {
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* SVG Icon Styles */
.icon-location,
.icon-phone,
.icon-email {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
