/* Base Styles */
:root {
    --primary-color: #1a61bd;
    --secondary-color: #2d4b7a;
    --accent-color: #f8a832;
    --text-color: #333;
    --text-light: #666;
    --background-color: #fff;
    --background-alt: #f8f9fa;
    --border-color: #e1e4e8;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 6px;
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

p {
    margin-bottom: 1.25em;
}

ul, ol {
    margin-bottom: 1.25em;
    padding-left: 1.25em;
}

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

button, .btn {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    text-align: center;
}

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

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

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

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

.btn.tertiary {
    background-color: var(--text-light);
    color: white;
}

.btn.tertiary:hover {
    background-color: var(--text-color);
}

.btn.full-width {
    width: 100%;
    display: block;
}

/* Header & Navigation */
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: 1rem 1.5rem;
}

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

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

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 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);
}

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

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 10px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 97, 189, 0.1) 0%, rgba(45, 75, 122, 0.05) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 90%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

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

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(26, 97, 189, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

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

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

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0;
}

.view-all {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(3px);
}

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

.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);
}

.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-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.post-meta .date, .post-meta .category {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.25rem;
}

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

.post-content h3 a {
    color: var(--secondary-color);
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

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

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

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

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

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: var(--background-alt);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(26, 97, 189, 0.1);
    position: absolute;
    left: -1.5rem;
    top: -1.5rem;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

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

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.slider-controls button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.slider-controls button:hover {
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

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

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

.cta h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

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

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

.cta .btn.primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta.alt-style {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: #1a2a3a;
    color: white;
    padding: 4rem 0 2rem;
}

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

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

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

.footer-links h3, .footer-contact h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

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

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

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

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p i {
    margin-right: 0.75rem;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

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

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

.social-icons a:hover {
    background-color: var(--accent-color);
}

.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.5);
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 0;
}

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

.cookie-content p {
    margin-bottom: 0;
}

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

.btn-cookie {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-cookie.secondary {
    background-color: var(--background-alt);
    color: var(--text-color);
}

.btn-cookie.tertiary {
    background-color: transparent;
    color: var(--text-light);
}

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

/* Page Header */
.page-header {
    background-color: var(--background-alt);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.page-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 97, 189, 0.1) 0%, rgba(45, 75, 122, 0.05) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

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

/* Blog Page Styles */
.blog-filters {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 400px;
}

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

.search-bar button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.blog-content {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

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

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

.blog-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-details {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 0.35rem;
}

.blog-details h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-details h2 a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.blog-details h2 a:hover {
    color: var(--primary-color);
}

.blog-details p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-author {
    display: flex;
    align-items: center;
}

.blog-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

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

.current-page {
    color: var(--text-light);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-numbers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.page-numbers a.active, .page-numbers a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.newsletter.alt-style {
    background-color: var(--primary-color);
}

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

.newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-text h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.newsletter.alt-style .newsletter-text h2 {
    color: white;
}

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

.newsletter.alt-style .newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

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

.newsletter.alt-style .newsletter-form input {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter.alt-style .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 600;
    cursor: pointer;
}

.newsletter.alt-style .newsletter-form button {
    background-color: white;
    color: var(--primary-color);
}

/* Blog Post Styles */
.blog-post {
    padding: 4rem 0;
}

.post-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.post-header .post-meta {
    justify-content: center;
    margin-bottom: 1.25rem;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    display: block;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-image {
    margin-bottom: 2.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    max-height: 500px;
}

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

.table-of-contents {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
}

.table-of-contents h3 {
    margin-bottom: 1rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents ul li {
    margin-bottom: 0.5rem;
}

.table-of-contents ul li a {
    color: var(--text-color);
    transition: var(--transition);
}

.table-of-contents ul li a:hover {
    color: var(--primary-color);
}

.post-section {
    margin-bottom: 3rem;
}

.post-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.post-section h3 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    font-weight: 600;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--background-alt);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

.share-post {
    margin: 3rem 0;
    text-align: center;
}

.share-post h3 {
    margin-bottom: 1.25rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
}

.share-button i {
    margin-right: 0.5rem;
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.email {
    background-color: #777;
}

.share-button:hover {
    opacity: 0.9;
    color: white;
}

.author-bio {
    display: flex;
    gap: 2rem;
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.author-image {
    flex-shrink: 0;
}

.author-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-details h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.author-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

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

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

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

.related-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

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

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

.related-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: var(--secondary-color);
}

.related-content h4 a:hover {
    color: var(--primary-color);
}

.related-content .date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-comments {
    margin-bottom: 3rem;
}

.post-comments h3 {
    margin-bottom: 1.5rem;
}

.comment {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comment.reply {
    margin-left: 3.5rem;
    margin-bottom: 0;
    padding-top: 2rem;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-header h4 {
    margin-bottom: 0;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-actions {
    margin-top: 0.75rem;
}

.reply-link {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.reply-link:hover {
    color: var(--primary-color);
}

.comment-form {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comment-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

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

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

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
}

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

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    padding-right: 2rem;
}

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

.contact-info > p {
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    margin-bottom: 1.75rem;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(26, 97, 189, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

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

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

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

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

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

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form-container > p {
    margin-bottom: 2rem;
}

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

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

.map-section {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

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

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

.map-container iframe {
    border: none;
}

.contact-faq {
    background-color: white;
}

/* FAQ Styles */
.faq {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

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

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    padding-right: 2rem;
}

.faq-toggle {
    flex-shrink: 0;
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 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);
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: var(--border-radius);
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: modalopen 0.3s;
}

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

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

.modal-body {
    padding: 2.5rem;
    text-align: center;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon i {
    font-size: 3rem;
    color: var(--success-color);
}

.modal-body h2 {
    margin-bottom: 1rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
}

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

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

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

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.mission-values {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.mission-box {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 3rem;
}

.mission-box h2 {
    color: white;
    margin-bottom: 1rem;
}

.mission-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

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

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

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(26, 97, 189, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

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

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

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

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

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

.member-image {
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.member-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

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

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.member-bio {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--background-alt);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

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

.achievements {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.achievements h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.partners {
    padding: 5rem 0;
    background-color: white;
}

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

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.partner-logo {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
}

.testimonials.alt-style {
    background-color: var(--background-alt);
}

/* Services Page Styles */
.services-intro {
    padding: 5rem 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h2 {
    margin-bottom: 1.5rem;
}

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

.services-grid {
    padding: 2rem 0 5rem;
}

.service-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.5rem;
    margin-bottom: 2rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 97, 189, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2.25rem;
    color: var(--primary-color);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.25rem;
}

.service-content ul {
    margin-bottom: 1.5rem;
}

.service-content li {
    margin-bottom: 0.5rem;
}

.approach {
    padding: 5rem 0;
    background-color: white;
}

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

.approach-steps {
    max-width: 800px;
    margin: 0 auto;
}

.approach-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.approach-step:not(:last-child):after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    bottom: -20px;
    width: 2px;
    background-color: var(--border-color);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.pricing {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

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

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.pricing-value {
    margin-bottom: 0.5rem;
}

.percentage {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.flat-rate {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.pricing-features li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Policy Pages */
.policy-content {
    padding: 4rem 0;
}

.policy-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.policy-section {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.policy-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-section h3 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.contact-details {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
}

.contact-details p {
    margin-bottom: 0.75rem;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

/* Tooltips */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before,
[data-tooltip]:after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    padding: 10px 15px;
    width: 200px;
    border-radius: var(--border-radius);
    background-color: rgba(45, 75, 122, 0.9);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
}

[data-tooltip]:after {
    content: '';
    border-width: 7px;
    border-style: solid;
    border-color: rgba(45, 75, 122, 0.9) transparent transparent transparent;
    bottom: calc(125% - 14px);
    left: 50%;
    transform: translateX(-50%);
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}

/* Blog Post Specific Styles */
.market-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.stat {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.tax-example {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.tax-example h4 {
    margin-bottom: 1rem;
}

.tax-example ul {
    margin-bottom: 0;
}

.hub-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.hub {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.hub h4 {
    margin-bottom: 1rem;
}

.hub p {
    margin-bottom: 0.75rem;
}

.hub p:last-child {
    margin-bottom: 0;
}

table.investment-stages, 
table.treaty-rates,
table.term-sheet-provisions {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

table.investment-stages th, 
table.treaty-rates th,
table.term-sheet-provisions th {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
    padding: 0.75rem 1rem;
}

table.investment-stages td, 
table.treaty-rates td,
table.term-sheet-provisions td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

table.investment-stages tr:nth-child(even), 
table.treaty-rates tr:nth-child(even),
table.term-sheet-provisions tr:nth-child(even) {
    background-color: var(--background-alt);
}

.evaluation-framework,
.portfolio-models,
.investment-approaches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.evaluation-area,
.portfolio-model,
.approach {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.evaluation-area h4,
.portfolio-model h4,
.approach h4 {
    margin-bottom: 1rem;
}

.subsector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.subsector {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.subsector h4 {
    margin-bottom: 0.75rem;
}

.subsector p {
    margin-bottom: 0.5rem;
}

.refund-steps {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.refund-steps h3 {
    margin-bottom: 1rem;
}

.refund-steps ol {
    margin-bottom: 0;
}

.refund-steps li {
    margin-bottom: 0.75rem;
}

.refund-steps li:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .intro-content, 
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .service-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 100;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 0.75rem;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-bar {
        width: 100%;
        max-width: none;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: none;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin-bottom: 1.5rem;
    }
    
    .author-image img {
        margin: 0 auto;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .post-author {
        flex-direction: column;
    }
    
    .post-author img {
        margin: 0 auto 1rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 1rem;
    }
    
    .comment.reply {
        margin-left: 0;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .approach-step {
        flex-direction: column;
    }
    
    .approach-step:not(:last-child):after {
        display: none;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
