/* Base Styles */
:root {
    --primary-color: #4a86e8;
    --primary-dark: #2a65c8;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333333;
    --body-bg: #ffffff;
    --border-color: #dee2e6;
    --section-bg: #f9f9f9;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Roboto', 'Arial', sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --line-height-base: 1.6;
    --border-radius: 6px;
    --border-radius-lg: 12px;
    --section-spacing: 80px;
    --container-padding: 20px;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

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

section {
    padding: calc(var(--section-spacing) / 2) 0;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.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: var(--font-weight-medium);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    font-size: var(--font-size-base);
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: #5a6268;
}

/* 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-top: 15px;
    padding-bottom: 15px;
}

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

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    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);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to right, rgba(74, 134, 232, 0.9), rgba(42, 101, 200, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

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

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Posts Section */
.featured-posts {
    text-align: center;
    background-color: var(--section-bg);
}

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

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

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

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    min-height: 3.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content p {
    color: var(--secondary-color);
    margin-bottom: 15px;
    min-height: 4.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: var(--font-weight-medium);
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.read-more:after {
    content: '→';
    opacity: 0;
    margin-left: -5px;
    transition: all 0.3s ease;
}

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

.view-all {
    margin-top: 40px;
}

/* Statistics Section */
.statistics {
    background-color: white;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.stat-chart {
    background-color: var(--section-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.chart {
    width: 100%;
    height: 300px;
    margin-top: 20px;
}

.stats-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background-color: var(--section-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    margin: 0;
}

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

.newsletter h2, 
.newsletter p {
    color: white;
}

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

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

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--dark-color);
    padding: 0 25px;
}

.newsletter-form button:hover {
    background-color: black;
}

/* 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: 40px;
    margin-bottom: 40px;
}

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

.footer-logo p {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

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

.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.footer-contact svg {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

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

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

.footer-bottom p {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    font-size: var(--font-size-sm);
}

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

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

.btn-cookie {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

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

.btn-cookie:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Blog Page Styles */
.page-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-header h1, 
.page-header p {
    color: white;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    display: flex;
    max-width: 300px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: var(--font-size-base);
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 15px;
    cursor: pointer;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.categories span {
    font-weight: var(--font-weight-medium);
    color: var(--secondary-color);
}

.categories a {
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

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

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

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

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination a:hover:not(.active) {
    background-color: var(--section-bg);
}

.pagination span {
    align-self: flex-end;
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
    gap: 5px;
}

/* Blog Post Page Styles */
.blog-post-header {
    background-color: var(--section-bg);
    padding: 60px 0 30px;
}

.blog-post-header h1 {
    margin-bottom: 20px;
    font-size: 2.75rem;
}

.blog-post-header .post-meta {
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

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

.author-name {
    font-weight: var(--font-weight-medium);
}

.author-title {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

.blog-post-content {
    padding-top: 50px;
}

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

.featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-text {
    margin-bottom: 40px;
}

.post-text h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

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

.post-text ul li, 
.post-text ol li {
    margin-bottom: 10px;
}

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

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

.info-box {
    background-color: var(--section-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

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

.info-box ul {
    list-style-type: none;
    padding-left: 0;
}

.info-box ul li {
    position: relative;
    padding-left: 20px;
}

.info-box ul li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.post-tags span {
    font-weight: var(--font-weight-medium);
    color: var(--secondary-color);
}

.post-tags a {
    background-color: var(--section-bg);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

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

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

.share-post span {
    font-weight: var(--font-weight-medium);
    color: var(--secondary-color);
}

.share-post a {
    color: var(--dark-color);
    transition: var(--transition);
}

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

.related-posts h3 {
    margin-bottom: 30px;
}

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

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

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

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

.related-post h4 {
    font-size: 1rem;
    padding: 15px 15px 10px;
    min-height: 3.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post a {
    display: block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    text-align: center;
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
}

.related-post a:hover {
    background-color: var(--primary-dark);
}

/* About Page Styles */
.about-intro {
    padding-top: 50px;
}

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

.about-text h2 {
    margin-top: 0;
}

.about-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
}

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

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

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    padding-bottom: 20px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 0 15px;
}

.team-member p {
    padding: 0 15px;
    margin-bottom: 10px;
    font-size: var(--font-size-sm);
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    color: var(--dark-color);
    transition: var(--transition);
}

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

.values {
    background-color: var(--section-bg);
    text-align: center;
}

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

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

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-item h3 {
    margin-bottom: 15px;
}

.value-item p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

.partners {
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.partner {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: var(--transition);
}

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

.partner img {
    max-width: 100%;
    max-height: 60px;
}

/* Contact Page Styles */
.contact-content {
    padding-top: 50px;
}

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

.contact-info h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    color: var(--primary-color);
}

.contact-text h3 {
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.social-contact {
    margin-top: 40px;
}

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

.social-icon {
    color: var(--dark-color);
    transition: var(--transition);
}

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

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

.contact-form-container h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-form-container p {
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    font-size: var(--font-size-sm);
    flex: 1;
}

.contact-map {
    text-align: center;
}

.map-container {
    height: 400px;
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq {
    background-color: var(--section-bg);
    text-align: center;
}

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

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
    text-align: left;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    text-align: left;
}

.faq-question.active {
    background-color: var(--section-bg);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

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

.modal-body {
    text-align: center;
}

.checkmark {
    color: var(--success-color);
    margin-bottom: 20px;
}

.close-btn {
    margin-top: 20px;
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .post-image img {
        height: 200px;
    }
    
    .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 {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .blog-filters {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .search-box {
        width: 100%;
        max-width: none;
    }
    
    .categories {
        width: 100%;
        justify-content: flex-start;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .stats-info {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .values-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
}
