/* 
 * Styles für "Die Zukunft der Robotik" Blog
 * Ein modernes, responsives Design für einen Technologie-Blog
 */

/* ===== GRUNDLEGENDE EINSTELLUNGEN ===== */
:root {
    --primary-color: #3366cc;
    --primary-light: #5a80d1;
    --primary-dark: #1a4ba5;
    --secondary-color: #ff6b6b;
    --accent-color: #00bfa5;
    --bg-color: #ffffff;
    --bg-light: #f5f7fa;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e1e4e8;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

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

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.4;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.question-btn {
    background-color: var(--accent-color);
    margin-left: 1rem;
    position: relative;
    overflow: hidden;
}

.question-btn:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    opacity: 0;
    transition: var(--transition);
}

.question-btn:hover:before {
    opacity: 1;
    animation: shine 1.5s;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.question-btn:hover {
    background-color: #00a896;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    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: 2rem;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: var(--bg-light);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to right, rgba(245, 247, 250, 0.9), rgba(245, 247, 250, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

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

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* ===== FEATURED POSTS SECTION ===== */
.featured-posts {
    padding: 5rem 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.featured-posts h2:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

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

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

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

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

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

.post-content {
    padding: 1.5rem;
}

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

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

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

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

.read-more:hover {
    color: var(--primary-dark);
}

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

.view-all {
    text-align: center;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

#newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

#newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--accent-color);
    padding: 0 1.5rem;
}

#newsletter-form button:hover {
    background-color: #00a896;
}

/* ===== FOOTER ===== */
footer {
    background-color: #222;
    color: white;
    padding: 4rem 0 2rem;
}

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

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

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

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-links ul li,
.footer-contact 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;
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    margin-right: 0.75rem;
    color: var(--primary-light);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-policy-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-policy-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

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

.cookie-content p {
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.cookie-content a {
    color: var(--accent-color);
    font-size: 0.9rem;
}

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

/* ===== BLOG PAGE ===== */
.page-header {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.search-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.search-box 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;
}

.filter-box select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--text-color);
    background-color: white;
    min-width: 200px;
}

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

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.post-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.post-item .post-image {
    height: 100%;
    min-height: 250px;
}

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

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

.post-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

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

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

.pagination a.next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

/* ===== BLOG POST PAGE ===== */
.blog-post {
    padding: 4rem 0;
}

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

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

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

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

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

.post-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul, 
.post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content strong {
    color: var(--primary-dark);
}

.post-image-container {
    margin: 2.5rem 0;
    text-align: center;
}

.post-image-container img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}

.image-caption {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-light);
    position: relative;
}

blockquote:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.1);
    font-family: serif;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    align-items: center;
}

.post-tags span {
    color: var(--text-light);
}

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

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

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

.post-share span {
    color: var(--text-light);
}

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

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

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

.author-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

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

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

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

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

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

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

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.related-post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

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

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

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

.related-post-card a i {
    transition: var(--transition);
}

.related-post-card a:hover i {
    transform: translateX(3px);
}

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

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

.comment {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.comment.reply {
    margin-left: 3rem;
}

.comment-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

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

.comment-content p {
    margin-bottom: 0.75rem;
}

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

.comment-actions a i {
    margin-right: 0.25rem;
}

.comment-actions a:hover {
    color: var(--primary-color);
}

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

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

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

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

.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-main);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== ABOUT PAGE ===== */
.about-story {
    padding: 4rem 0;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

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

.mission-values {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.mission-values .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mission-box .icon {
    margin-bottom: 1.5rem;
}

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

.mission-box h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.values-box {
    background-color: var(--primary-dark);
    color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.values-box h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.values-box ul {
    list-style: none;
    padding: 0;
}

.values-box ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.values-box ul li i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.team {
    padding: 4rem 0;
}

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

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.member-image {
    height: 250px;
}

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

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin-bottom: 0.25rem;
}

.position {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
}

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

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

.partners {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

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

.partners p {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

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

.partner {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

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

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

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.cta .btn:hover {
    background-color: var(--bg-light);
}

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

.cta .question-btn:hover {
    background-color: #00a896;
}

/* ===== CONTACT PAGE ===== */
.contact-info {
    padding: 4rem 0;
}

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

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

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

.contact-card .icon {
    margin-bottom: 1.5rem;
}

.contact-card .icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-card .social-icons {
    justify-content: center;
    margin-top: 1rem;
}

.contact-form-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.map-container h2,
.form-container h2 {
    margin-bottom: 1.5rem;
}

.form-container p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.map iframe {
    border: none;
}

.faq {
    padding: 4rem 0;
}

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

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

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background-color: white;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--bg-light);
}

.accordion-header h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

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

.accordion-content {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.accordion-item.active .icon i {
    transform: rotate(45deg);
}

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

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalFadeIn 0.4s;
}

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

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

.thank-you-message {
    padding: 3rem 2rem;
    text-align: center;
}

.thank-you-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thank-you-message h2 {
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .about-content,
    .mission-values .container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .post-item {
        grid-template-columns: 1fr;
    }
    
    .post-item .post-image {
        height: 300px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    header .container {
        padding: 1rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: white;
        box-shadow: var(--shadow-lg);
        z-index: 1001;
        transition: var(--transition);
        padding: 2rem;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        margin-top: 2rem;
    }
    
    nav ul li {
        margin: 0 0 1.5rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    #newsletter-form {
        flex-direction: column;
    }
    
    #newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    #newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .post-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comment {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
