/* Base Styles */
:root {
    --primary-color: #4AA3DF;
    --primary-dark: #3080B0;
    --secondary-color: #ECEFF1;
    --light-blue: #E1F5FE;
    --dark-blue: #01579B;
    --white: #FFFFFF;
    --black: #333333;
    --gray: #757575;
    --light-gray: #F5F5F5;
    --border-color: #DDDDDD;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-main: 'Noto Sans JP', sans-serif;
    --font-heading: 'M PLUS 1p', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Dark Theme Variables */
.dark-theme {
    --primary-color: #2E86C1;
    --primary-dark: #1A5276;
    --secondary-color: #34495E;
    --light-blue: #1A5276;
    --dark-blue: #0B3954;
    --white: #2C3E50;
    --black: #ECF0F1;
    --gray: #BDC3C7;
    --light-gray: #2C3E50;
    --border-color: #7F8C8D;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: var(--font-main);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

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

button, .btn {
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: var(--font-main);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

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

nav ul {
    display: flex;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: var(--black);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

/* Theme Switch */
#theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    display: flex;
    gap: 10px;
}

#theme-switch button {
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
}

#theme-switch button:hover {
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    background-color: var(--light-blue);
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,64L48,96C96,128,192,192,288,202.7C384,213,480,171,576,165.3C672,160,768,192,864,197.3C960,203,1056,181,1152,154.7C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% {
        transform: translateY(0) rotate(0);
    }
    100% {
        transform: translateY(-50px) rotate(5deg);
    }
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero .btn:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* Featured Posts */
.featured-posts {
    padding: 80px 0;
}

.featured-posts h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.featured-posts h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 3px;
}

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

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--black);
}

.post-content p {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding-right: 20px;
}

.read-more:after {
    content: '→';
    position: absolute;
    right: 0;
    top: 0;
    transition: var(--transition);
}

.read-more:hover:after {
    right: -5px;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%234AA3DF" fill-opacity="0.05" d="M0,192L48,181.3C96,171,192,149,288,154.7C384,160,480,192,576,186.7C672,181,768,139,864,122.7C960,107,1056,117,1152,117.3C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

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

.testimonials h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.testimonials h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 3px;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    position: absolute;
    top: -15px;
    left: 20px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-card p {
    margin-bottom: 15px;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--black);
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    padding: 60px 0 20px;
    color: var(--black);
}

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

.footer-logo img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--gray);
}

.footer-links h3, .footer-policies h3, .footer-contact h3, .footer-social h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3:after, .footer-policies h3:after, .footer-contact h3:after, .footer-social h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

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

.footer-links a, .footer-policies a {
    color: var(--gray);
}

.footer-links a:hover, .footer-policies a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

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

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

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

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 20px;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 10px;
    color: var(--gray);
}

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

.cookie-buttons button {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
}

#accept-all {
    background-color: var(--primary-color);
    color: white;
}

#cookie-settings {
    background-color: var(--light-gray);
    color: var(--black);
}

#reject-all {
    background-color: var(--light-gray);
    color: var(--black);
}

.cookie-content a {
    margin-left: 10px;
    font-size: 14px;
}

/* Blog Page Styles */
.blog-header {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.blog-header:before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,64L48,96C96,128,192,192,288,202.7C384,213,480,171,576,165.3C672,160,768,192,864,197.3C960,203,1056,181,1152,154.7C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

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

.blog-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-content {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    gap: 40px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .blog-card {
        flex-direction: row;
        height: 250px;
    }
}

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

.blog-image {
    flex: 0 0 300px;
    overflow: hidden;
}

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

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

.blog-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-details h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

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

.blog-meta i {
    margin-right: 5px;
}

.blog-details p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* About Page Styles */
.about-header {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.about-header:before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,160L48,144C96,128,192,96,288,96C384,96,480,128,576,138.7C672,149,768,139,864,128C960,117,1056,107,1152,106.7C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

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

.about-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.about-header p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-story {
    padding: 80px 0;
}

.about-content {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
}

.about-text h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 15px;
    border-radius: 3px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--gray);
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.team-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.team-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 3px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

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

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

.team-member h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 15px 0 5px;
    padding: 0 15px;
}

.team-member p {
    color: var(--gray);
    padding: 0 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
}

.philosophy-section {
    padding: 80px 0;
}

.philosophy-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.philosophy-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 3px;
}

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

.philosophy-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.philosophy-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.philosophy-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.philosophy-item p {
    color: var(--gray);
}

/* Contact Page Styles */
.contact-header {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.contact-header:before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,32L48,53.3C96,75,192,117,288,117.3C384,117,480,75,576,64C672,53,768,75,864,96C960,117,1056,139,1152,122.7C1248,107,1344,53,1392,26.7L1440,0L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

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

.contact-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info h2, .contact-form-container h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
}

.contact-info h2:after, .contact-form-container h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 15px;
    border-radius: 3px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

.info-text h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-text p {
    color: var(--gray);
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

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

.required {
    color: #e53935;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 163, 223, 0.2);
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.map-section {
    padding-bottom: 80px;
}

.map-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

.map-section h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 3px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow-color);
}

.map-container iframe {
    display: block;
    border: 0;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

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

.modal h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.modal p {
    margin-bottom: 30px;
    color: var(--gray);
}

.modal-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Blog Post Styles */
.post {
    padding: 60px 0;
}

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

.post-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

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

.post-meta i {
    margin-right: 5px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow-color);
}

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

.post-content {
    margin-bottom: 40px;
    color: var(--black);
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--black);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--black);
}

.post-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 25px 0 15px;
    color: var(--black);
}

.post-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.post-content ul, .post-content ol {
    margin-bottom: 15px;
    margin-left: 20px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    list-style-type: disc;
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-previous, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.post-navigation a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

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

.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.related-posts h3:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 15px;
    border-radius: 3px;
}

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

.related-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px var(--shadow-color);
    overflow: hidden;
    transition: var(--transition);
}

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

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

.related-post h4 {
    padding: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .featured-posts h2, .testimonials h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0 10px 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous, .nav-next {
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .featured-posts h2, .testimonials h2 {
        font-size: 1.5rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 20px;
    }
}
