:root {
--primary-color: #2563eb;
--secondary-color: #1e40af;
--accent-color: #3b82f6;
--text-dark: #1f2937;
--text-light: #6b7280;
--background-light: #f9fafb;
--white: #ffffff;
--border-color: #e5e7eb;
--success-color: #10b981;
--dark-bg: #111827;
--dark-text: #f3f4f6;
}

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

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-dark);
background-color: var(--white);
transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
background-color: var(--dark-bg);
color: var(--dark-text);
}

body.dark-mode .primary-nav {
background-color: #1f2937;
border-bottom-color: #374151;
}

body.dark-mode .hero-area {
background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

body.dark-mode .intro-card,
body.dark-mode .post-preview,
body.dark-mode .blog-post-card,
body.dark-mode .team-member,
body.dark-mode .value-card,
body.dark-mode .info-item {
background-color: #1f2937;
border-color: #374151;
}

body.dark-mode .site-footer {
background-color: #1f2937;
border-top-color: #374151;
}

body.dark-mode .page-header {
background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

body.dark-mode .post-article {
background-color: #1f2937;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
background-color: #111827;
border-color: #374151;
color: var(--dark-text);
}

.primary-nav {
background-color: var(--white);
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 1000;
border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
max-width: 1280px;
margin: 0 auto;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}

.brand-section {
display: flex;
align-items: center;
gap: 0.75rem;
}

.nav-logo {
width: 45px;
height: 45px;
border-radius: 8px;
object-fit: cover;
}

.brand-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
}

.navigation-links {
display: flex;
list-style: none;
gap: 2rem;
}

.navigation-links a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
transition: color 0.3s ease;
position: relative;
}

.navigation-links a:hover,
.navigation-links a.active-link {
color: var(--primary-color);
}

.navigation-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-color);
transition: width 0.3s ease;
}

.navigation-links a:hover::after,
.navigation-links a.active-link::after {
width: 100%;
}

.mobile-toggle {
display: none;
background: none;
border: none;
font-size: 1.8rem;
cursor: pointer;
color: var(--text-dark);
}

.hero-area {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: var(--white);
padding: 5rem 2rem;
text-align: center;
}

.hero-content {
max-width: 900px;
margin: 0 auto;
}

.main-heading {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1rem;
line-height: 1.2;
}

.hero-subtitle {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.95;
}

.countdown-section {
background-color: rgba(255,255,255,0.1);
padding: 2rem;
border-radius: 12px;
margin-top: 2rem;
backdrop-filter: blur(10px);
}

.countdown-section h3 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
}

.timer-box {
display: flex;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}

.time-unit {
display: flex;
flex-direction: column;
align-items: center;
min-width: 80px;
}

.time-unit span {
font-size: 2.5rem;
font-weight: 700;
display: block;
background-color: rgba(255,255,255,0.2);
padding: 1rem;
border-radius: 8px;
min-width: 70px;
}

.time-unit label {
font-size: 0.9rem;
margin-top: 0.5rem;
text-transform: uppercase;
letter-spacing: 1px;
}

.main-container {
max-width: 1280px;
margin: 0 auto;
padding: 4rem 2rem;
}

.intro-section {
margin-bottom: 4rem;
}

.content-wrapper {
max-width: 1200px;
margin: 0 auto;
}

.intro-section h2,
.featured-posts h2 {
font-size: 2.5rem;
text-align: center;
margin-bottom: 3rem;
color: var(--text-dark);
}

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

.intro-card {
background-color: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid var(--border-color);
}

.intro-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

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

.intro-card h3 {
padding: 1.5rem 1.5rem 0.5rem;
font-size: 1.5rem;
color: var(--primary-color);
}

.intro-card p {
padding: 0 1.5rem 1.5rem;
color: var(--text-light);
}

.featured-posts {
margin-top: 4rem;
}

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

.post-preview {
background-color: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid var(--border-color);
}

.post-preview:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

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

.post-content {
padding: 1.5rem;
}

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

.post-content h3 a {
text-decoration: none;
color: var(--text-dark);
transition: color 0.3s ease;
}

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

.post-excerpt {
color: var(--text-light);
margin-bottom: 1rem;
font-size: 0.95rem;
}

.read-more-btn {
display: inline-block;
padding: 0.6rem 1.5rem;
background-color: var(--primary-color);
color: var(--white);
text-decoration: none;
border-radius: 6px;
font-weight: 600;
transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
background-color: var(--secondary-color);
transform: scale(1.05);
}

.info-blocks {
background-color: var(--background-light);
padding: 4rem 2rem;
margin-top: 4rem;
}

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

.info-item {
text-align: center;
padding: 2rem;
background-color: var(--white);
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}

.info-item:hover {
transform: translateY(-5px);
}

.info-item svg {
color: var(--primary-color);
margin-bottom: 1rem;
}

.info-item h3 {
font-size: 1.3rem;
margin-bottom: 0.75rem;
color: var(--text-dark);
}

.info-item p {
color: var(--text-light);
font-size: 0.95rem;
}

.site-footer {
background-color: var(--text-dark);
color: var(--white);
padding: 3rem 2rem 1rem;
margin-top: 4rem;
border-top: 3px solid var(--primary-color);
}

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

.footer-section h4 {
font-size: 1.2rem;
margin-bottom: 1rem;
color: var(--white);
}

.footer-section p {
color: rgba(255,255,255,0.8);
margin-bottom: 0.5rem;
font-size: 0.9rem;
}

.footer-section ul {
list-style: none;
}

.footer-section ul li {
margin-bottom: 0.5rem;
}

.footer-section ul li a {
color: rgba(255,255,255,0.8);
text-decoration: none;
transition: color 0.3s ease;
font-size: 0.9rem;
}

.footer-section ul li a:hover {
color: var(--white);
}

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

.social-icons a {
color: var(--white);
transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
transform: scale(1.2);
color: var(--accent-color);
}

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

.cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: var(--white);
box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
padding: 1.5rem 2rem;
z-index: 10000;
transform: translateY(100%);
transition: transform 0.4s ease;
border-top: 3px solid var(--primary-color);
}

.cookie-banner.show {
transform: translateY(0);
}

.cookie-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1.5rem;
}

.cookie-content h3 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
flex-basis: 100%;
}

.cookie-content p {
flex: 1;
color: var(--text-light);
font-size: 0.9rem;
}

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

.cookie-btn {
padding: 0.6rem 1.5rem;
border: none;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease, background-color 0.3s ease;
font-size: 0.9rem;
}

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

.cookie-btn.accept:hover {
background-color: #059669;
transform: scale(1.05);
}

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

.cookie-btn.decline:hover {
background-color: #4b5563;
transform: scale(1.05);
}

.cookie-link {
color: var(--primary-color);
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
}

.cookie-link:hover {
text-decoration: underline;
}

.page-header {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: var(--white);
padding: 4rem 2rem;
text-align: center;
}

.header-content h1 {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 0.75rem;
}

.header-content p {
font-size: 1.1rem;
opacity: 0.95;
}

.blog-main {
max-width: 1200px;
margin: 0 auto;
padding: 4rem 2rem;
}

.blog-container {
display: flex;
flex-direction: column;
gap: 3rem;
}

.blog-post-card {
background-color: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
display: flex;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid var(--border-color);
}

.blog-post-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-image-wrapper {
flex: 0 0 400px;
}

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

.post-details {
padding: 2rem;
flex: 1;
display: flex;
flex-direction: column;
}

.post-date {
color: var(--primary-color);
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 0.75rem;
}

.post-details h2 {
font-size: 1.75rem;
margin-bottom: 1rem;
}

.post-details h2 a {
text-decoration: none;
color: var(--text-dark);
transition: color 0.3s ease;
}

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

.post-summary {
color: var(--text-light);
margin-bottom: 1.5rem;
flex-grow: 1;
}

.continue-reading {
color: var(--primary-color);
text-decoration: none;
font-weight: 600;
transition: gap 0.3s ease;
display: inline-flex;
align-items: center;
}

.continue-reading:hover {
gap: 0.5rem;
}

.about-main {
max-width: 1200px;
margin: 0 auto;
padding: 4rem 2rem;
}

.about-story {
margin-bottom: 4rem;
}

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

.story-content h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
color: var(--text-dark);
text-align: center;
}

.story-content p {
font-size: 1.1rem;
line-height: 1.8;
color: var(--text-light);
margin-bottom: 1.5rem;
}

.team-section {
margin: 4rem 0;
}

.team-section h2 {
font-size: 2.5rem;
margin-bottom: 3rem;
text-align: center;
color: var(--text-dark);
}

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

.team-member {
background-color: var(--white);
border-radius: 12px;
padding: 2rem;
text-align: center;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
transition: transform 0.3s ease;
border: 1px solid var(--border-color);
}

.team-member:hover {
transform: translateY(-8px);
}

.team-member img {
border-radius: 50%;
margin-bottom: 1.5rem;
object-fit: cover;
}

.team-member h3 {
font-size: 1.4rem;
margin-bottom: 0.5rem;
color: var(--text-dark);
}

.member-role {
color: var(--primary-color);
font-weight: 600;
margin-bottom: 1rem;
font-size: 0.95rem;
}

.member-bio {
color: var(--text-light);
line-height: 1.6;
font-size: 0.95rem;
}

.values-section {
background-color: var(--background-light);
padding: 4rem 2rem;
margin: 4rem -2rem 0;
}

.values-section h2 {
font-size: 2.5rem;
margin-bottom: 3rem;
text-align: center;
color: var(--text-dark);
}

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

.value-card {
background-color: var(--white);
border-radius: 12px;
padding: 2rem;
text-align: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.value-card svg {
color: var(--primary-color);
margin-bottom: 1rem;
}

.value-card h3 {
font-size: 1.3rem;
margin-bottom: 0.75rem;
color: var(--text-dark);
}

.value-card p {
color: var(--text-light);
line-height: 1.6;
}

.contact-main {
max-width: 1200px;
margin: 0 auto;
padding: 4rem 2rem;
}

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

.contact-info-section h2,
.contact-form-section h2 {
font-size: 2rem;
margin-bottom: 2rem;
color: var(--text-dark);
}

.info-block {
display: flex;
gap: 1.5rem;
margin-bottom: 2rem;
padding: 1.5rem;
background-color: var(--background-light);
border-radius: 8px;
}

.info-block svg {
color: var(--primary-color);
flex-shrink: 0;
}

.info-block h3 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
color: var(--text-dark);
}

.info-block p {
color: var(--text-light);
line-height: 1.6;
}

.info-block a {
color: var(--primary-color);
text-decoration: none;
}

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

.contact-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

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

.form-group label {
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-dark);
}

.form-group input,
.form-group textarea {
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: 6px;
font-family: inherit;
font-size: 1rem;
transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color);
}

.form-group textarea {
resize: vertical;
min-height: 120px;
}

.submit-btn {
padding: 0.9rem 2rem;
background-color: var(--primary-color);
color: var(--white);
border: none;
border-radius: 6px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.6);
z-index: 10000;
justify-content: center;
align-items: center;
}

.modal-overlay.show {
display: flex;
}

.modal-content {
background-color: var(--white);
padding: 3rem;
border-radius: 12px;
text-align: center;
max-width: 500px;
box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-icon {
margin-bottom: 1.5rem;
}

.modal-icon svg {
color: var(--success-color);
}

.modal-content h2 {
font-size: 2rem;
margin-bottom: 1rem;
color: var(--text-dark);
}

.modal-content p {
color: var(--text-light);
margin-bottom: 2rem;
line-height: 1.6;
}

.modal-close-btn {
padding: 0.75rem 2rem;
background-color: var(--primary-color);
color: var(--white);
border: none;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
}

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

.post-article {
max-width: 900px;
margin: 2rem auto;
background-color: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.post-header {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: var(--white);
padding: 3rem 2rem;
}

.post-header-content h1 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
line-height: 1.2;
}

.post-meta {
display: flex;
gap: 1.5rem;
flex-wrap: wrap;
font-size: 0.95rem;
opacity: 0.95;
}

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

.post-content-wrapper {
padding: 3rem 2rem;
}

.featured-image {
width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 2rem;
}

.post-body {
font-size: 1.1rem;
line-height: 1.8;
color: var(--text-dark);
}

.post-body h2 {
font-size: 2rem;
margin: 2.5rem 0 1.5rem;
color: var(--text-dark);
}

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

.post-navigation {
margin-top: 3rem;
padding-top: 2rem;
border-top: 2px solid var(--border-color);
}

.back-to-blog {
display: inline-block;
color: var(--primary-color);
text-decoration: none;
font-weight: 600;
margin-bottom: 1.5rem;
transition: gap 0.3s ease;
}

.back-to-blog:hover {
gap: 0.5rem;
}

.post-nav-links {
display: flex;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}

.nav-prev,
.nav-next {
color: var(--primary-color);
text-decoration: none;
font-weight: 600;
padding: 0.75rem 1.5rem;
border: 2px solid var(--primary-color);
border-radius: 6px;
transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
background-color: var(--primary-color);
color: var(--white);
}

@media (max-width: 768px) {
.navigation-links {
display: none;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
right: 0;
background-color: var(--white);
padding: 1rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navigation-links.active {
display: flex;
}

.mobile-toggle {
display: block;
}

.main-heading {
font-size: 2rem;
}

.hero-subtitle {
font-size: 1rem;
}

.timer-box {
gap: 1rem;
}

.time-unit span {
font-size: 2rem;
padding: 0.75rem;
min-width: 60px;
}

.intro-grid,
.posts-grid {
grid-template-columns: 1fr;
}

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

.post-image-wrapper {
flex: 0 0 auto;
height: 250px;
}

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

.team-grid,
.values-grid {
grid-template-columns: 1fr;
}

.post-header-content h1 {
font-size: 1.8rem;
}

.post-body {
font-size: 1rem;
}

.post-body h2 {
font-size: 1.6rem;
}

.cookie-content {
flex-direction: column;
align-items: flex-start;
}

.cookie-buttons {
width: 100%;
justify-content: flex-start;
}
}

@media (max-width: 480px) {
.nav-wrapper {
padding: 1rem;
}

.main-heading {
font-size: 1.75rem;
}

.intro-section h2,
.featured-posts h2,
.team-section h2,
.values-section h2 {
font-size: 1.75rem;
}

.time-unit span {
font-size: 1.5rem;
padding: 0.5rem;
min-width: 50px;
}
}
