/* Base Styles */
:root {
    --primary-color: #1e5c97;
    --primary-dark: #134577;
    --primary-light: #3a7dba;
    --secondary-color: #e9b949;
    --secondary-dark: #c99a2e;
    --secondary-light: #f0c76b;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-lighter: #ecf0f1;
    --background-light: #ffffff;
    --background-off-white: #f7f9fc;
    --background-light-blue: #e8f1f8;
    --border-color: #e0e0e0;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.15);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 5px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

a:hover {
    color: var(--primary-dark);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2em;
}

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

button, input, textarea, select {
    font-family: var(--font-body);
}

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

/* Reading Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.progress-bar {
    height: 4px;
    background: var(--primary-color);
    width: 0%;
}

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

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

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

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

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

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

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

/* Hero Section Styles */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 4rem 5%;
    background: linear-gradient(to right, var(--background-light) 0%, var(--background-light-blue) 100%);
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 3rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

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

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-speed) ease;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.post-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

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

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.read-more::after {
    content: ' →';
    opacity: 0;
    margin-left: -10px;
    transition: opacity var(--transition-speed) ease, margin-left var(--transition-speed) ease;
}

.read-more:hover::after {
    opacity: 1;
    margin-left: 5px;
}

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

.view-all-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.view-all-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--background-light-blue);
    padding: 4rem 5%;
    margin-top: 2rem;
}

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

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color var(--transition-speed) ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    padding-top: 3rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #bdc3c7;
    transition: color var(--transition-speed) ease;
}

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

.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: background-color var(--transition-speed) ease;
}

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

.footer-bottom {
    background-color: #1a2530;
    text-align: center;
    padding: 1.5rem 0;
    color: #bdc3c7;
}

address {
    font-style: normal;
    color: #bdc3c7;
}

address p {
    margin-bottom: 0.5rem;
}

address a {
    color: #bdc3c7;
}

address a:hover {
    color: white;
}

address i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: none;
}

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

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

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

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

.cookie-btn.accept:hover {
    background-color: #27ae60;
}

.cookie-btn.customize {
    background-color: #7f8c8d;
    color: white;
}

.cookie-btn.customize:hover {
    background-color: #6c7a7a;
}

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

.cookie-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-more-info {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.cookie-more-info a {
    color: var(--secondary-color);
}

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

/* Blog Page Styles */
.blog-header {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.blog-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.blog-header p {
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.blog-posts {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.post-card.large {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

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

.post-meta .date::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    margin-right: 0.5rem;
}

.post-meta .category::before {
    content: '\f07b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.post-meta .reading-time::before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.blog-newsletter {
    margin-top: 5rem;
}

/* Article Page Styles */
.article-page .post-header {
    max-width: 800px;
    margin: 4rem auto 2rem;
    padding: 0 5%;
}

.post-featured-image {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 5%;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

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

.author {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

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

.author-info {
    display: flex;
    flex-direction: column;
}

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

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

.post-share {
    margin: 3rem 0;
    display: flex;
    align-items: center;
    padding: 0 5%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-share span {
    margin-right: 1rem;
    font-weight: 600;
}

.social-share {
    display: flex;
    gap: 0.8rem;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: var(--text-dark);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

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

.related-posts {
    background-color: var(--background-off-white);
    padding: 3rem 5%;
    margin-top: 3rem;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

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

.related-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.related-card a {
    display: block;
    padding: 0 1rem 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.article-newsletter {
    margin-top: 5rem;
}

.info-box {
    background-color: var(--background-light-blue);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.info-box h4 {
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.info-box ul {
    margin-bottom: 0;
}

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:nth-child(even) {
    background-color: var(--background-off-white);
}

/* About Page Styles */
.about-header {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

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

.about-header h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.about-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.about-story {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-story-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

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

.about-story-image {
    flex: 1;
    min-width: 300px;
}

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

.our-values {
    background-color: var(--background-off-white);
    padding: 4rem 5%;
    text-align: center;
}

.our-values h2 {
    margin-bottom: 3rem;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed) ease;
}

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

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

.team-section {
    padding: 4rem 5%;
    text-align: center;
}

.team-section h2 {
    margin-bottom: 3rem;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed) ease;
}

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

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

.team-card h3 {
    margin: 1.5rem 0 0.3rem;
}

.team-card p {
    padding: 0 1.5rem;
    margin-bottom: 0.8rem;
}

.team-card p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: var(--text-dark);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

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

.testimonials {
    background-color: var(--background-light-blue);
    padding: 4rem 5%;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 3rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    text-align: left;
}

.testimonial-content {
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    color: var(--primary-light);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

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

.author-details h4 {
    margin-bottom: 0.2rem;
}

.author-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.cta-section {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.primary-button {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-speed) ease;
}

.primary-button:hover {
    background-color: var(--secondary-dark);
    color: var(--text-dark);
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

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

/* Contact Page Styles */
.contact-header {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.contact-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.contact-header p {
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition-speed) ease;
}

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

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.8rem;
}

.contact-card p {
    margin-bottom: 0;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

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

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

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

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

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

.form-group textarea {
    resize: vertical;
}

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

.form-checkbox input {
    width: auto;
    margin-right: 0.8rem;
}

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

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

.map-section {
    margin: 4rem 0;
    padding: 0 5%;
    text-align: center;
}

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

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-section {
    background-color: var(--background-off-white);
    padding: 4rem 5%;
    text-align: center;
}

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

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

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

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

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

.faq-toggle {
    color: var(--primary-color);
}

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

.faq-answer p {
    margin: 0;
}

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

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

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

.modal-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
    margin-top: 1.5rem;
}

.modal-button:hover {
    background-color: var(--primary-dark);
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero {
        flex-direction: column;
        padding: 3rem 5%;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .post-card.large {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form-container {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        padding: 1rem 5%;
    }

    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}
