/* Global Styles & Resets */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #818CF8;
    --secondary-color: #FFA500;
    --secondary-dark: #E69500;
    --secondary-light: #FFB733;
    --bg-color: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-dark: #E5E7EB;
    --text-color: #1E293B;
    --text-light: #64748B;
    --border-color: #E2E8F0;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    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;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    transition: var(--transition);
    border: none;
    background: none;
}

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

h1 {
    font-size: 3.2rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

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

.cta-button {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
    border-radius: var(--border-radius);
    display: inline-block;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Header */
header {
    background-color: white;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.logo-container h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 8rem 2rem;
    background-color: var(--bg-light);
    min-height: 60vh;
}

.hero-content {
    flex: 1;
    max-width: 60rem;
}

.hero-content h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Intro Story Section */
.intro-story {
    padding: 8rem 0;
}

.story-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.story-content img {
    width: 40%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.story-text {
    width: 60%;
}

.story-text p {
    margin-bottom: 1.5rem;
}

/* Featured Posts */
.featured-posts {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

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

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

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

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

.post-content {
    padding: 2rem;
}

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

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

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

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

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

/* Services Section */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

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

.service-card h3 {
    margin-bottom: 1.5rem;
}

.services-cta {
    margin-top: 4rem;
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.testimonials-slider {
    margin-top: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

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

.quote {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-style: normal;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: #1E293B;
    color: white;
    padding-top: 6rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 20rem;
}

.footer-logo img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-services,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 20rem;
}

footer h4 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

footer ul li {
    margin-bottom: 1rem;
}

footer ul li a {
    color: #CBD5E1;
    transition: var(--transition);
}

footer ul li a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #CBD5E1;
}

.footer-contact address p svg {
    margin-right: 1rem;
}

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

.social-icons a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 4rem;
    height: 4rem;
    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(-5px);
}

.footer-bottom {
    background-color: #0F172A;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-info p {
    margin-bottom: 0;
    color: #CBD5E1;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #CBD5E1;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

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

.cookie-content p {
    margin-bottom: 1.5rem;
}

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

.cookie-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
}

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

.cookie-accept:hover {
    background-color: #0CA676;
    border-color: #0CA676;
}

.cookie-customize {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-color);
}

.cookie-customize:hover {
    background-color: var(--bg-dark);
    color: var(--text-color);
}

.cookie-decline {
    background-color: transparent;
    border-color: var(--error-color);
    color: var(--error-color);
}

.cookie-decline:hover {
    background-color: var(--error-color);
    color: white;
}

.cookie-more {
    font-size: 1.4rem;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
}

.page-header h2 {
    margin-bottom: 1rem;
    font-size: 3.6rem;
}

.page-header p {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 60rem;
    margin: 0 auto;
}

/* Blog Page */
.blog-content {
    padding: 6rem 0;
}

.blog-filter {
    margin-bottom: 4rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

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

.blog-post {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image {
    flex: 1;
    min-width: 30rem;
}

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

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

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

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.current-page,
.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    font-weight: 600;
}

.current-page {
    background-color: var(--primary-color);
    color: white;
}

.page-number {
    color: var(--text-color);
    transition: var(--transition);
}

.page-number:hover {
    background-color: var(--bg-dark);
}

.next-page {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    font-weight: 600;
}

.next-page svg {
    margin-left: 0.5rem;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary-color);
    padding: 6rem 0;
    color: white;
}

.newsletter-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.newsletter-text {
    flex: 1;
    min-width: 25rem;
}

.newsletter-text h3 {
    color: white;
}

.newsletter-text p {
    margin-bottom: 0;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    min-width: 30rem;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

.newsletter-form .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Services Page */
.services-overview {
    padding: 6rem 0;
}

.services-intro {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.services-intro img {
    width: 40%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.intro-text {
    width: 60%;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    padding: 0;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
}

.service-icon {
    flex: 1;
    min-width: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    padding: 3rem;
}

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

.service-content {
    flex: 3;
    padding: 3rem;
}

.service-content h3 {
    margin-bottom: 1.5rem;
}

.service-content h4 {
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.service-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.service-content ul li {
    margin-bottom: 0.8rem;
}

.service-details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.service-price {
    display: flex;
    flex-direction: column;
}

.service-price span {
    color: var(--text-light);
    font-size: 1.4rem;
}

.service-price strong {
    font-size: 2.4rem;
    color: var(--primary-color);
}

/* Process Section */
.process {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.process-steps {
    margin-top: 4rem;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
}

.accordion {
    margin-top: 4rem;
}

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

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: white;
    cursor: pointer;
    text-align: left;
}

.accordion-header span {
    font-weight: 600;
    font-size: 1.8rem;
}

.accordion-header svg {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
}

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

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 3.6rem;
}

.cta-content p {
    max-width: 60rem;
    margin: 0 auto 3rem;
    font-size: 1.8rem;
    opacity: 0.9;
}

/* About Page */
.about-story {
    padding: 6rem 0;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.about-image {
    width: 40%;
}

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

.about-text {
    width: 60%;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.value-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.our-approach {
    padding: 6rem 0;
}

.approach-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.approach-text {
    flex: 1;
}

.approach-image {
    flex: 1;
}

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

/* Team Section */
.team-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.team-intro {
    max-width: 70rem;
    margin: 0 auto 4rem;
    text-align: center;
}

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

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

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

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

.team-member h3 {
    margin: 2rem 0 0.5rem;
}

.team-member p {
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

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

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

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

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

/* Certifications Section */
.certifications {
    padding: 6rem 0;
}

.certification-logos {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.cert-logo {
    text-align: center;
    width: 20rem;
}

.cert-logo img {
    width: 100%;
    height: 10rem;
    object-fit: contain;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.cert-logo p {
    font-size: 1.4rem;
    color: var(--text-light);
}

.cert-logo:hover img {
    opacity: 1;
}

/* Contact Page */
.contact-content {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.info-icon {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

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

.social-contact {
    margin-top: 4rem;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1.6rem;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

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

.map-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 4rem;
    width: 90%;
    max-width: 50rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

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

.close-modal:hover {
    color: var(--error-color);
}

.modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.modal-icon svg {
    color: var(--success-color);
    width: 6rem;
    height: 6rem;
}

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

.close-btn {
    background-color: var(--primary-color);
    color: white;
    margin-top: 2rem;
}

/* Blog Post Single */
.blog-post-single {
    padding: 6rem 0;
}

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

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.post-author img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.post-author p {
    margin-bottom: 0.2rem;
    text-align: left;
}

.post-author p:first-of-type {
    font-weight: 600;
}

.post-featured-image {
    margin-bottom: 4rem;
}

.post-featured-image img {
    width: 100%;
    max-height: 50rem;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.post-content {
    max-width: 80rem;
    margin: 0 auto;
    font-size: 1.8rem;
    line-height: 1.8;
}

.post-content h3 {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 2.8rem;
}

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

.post-content ul li, .post-content ol li {
    margin-bottom: 1rem;
}

.post-tip {
    background-color: #EBF8FF;
    border-left: 4px solid #3B82F6;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: var(--border-radius);
}

.post-tip h4 {
    color: #3B82F6;
    margin-bottom: 1rem;
}

.post-tip p {
    margin-bottom: 0;
}

.post-quote {
    position: relative;
    font-size: 2rem;
    font-style: italic;
    padding: 3rem 4rem;
    margin: 3rem 0;
    border-left: 4px solid var(--primary-color);
    background-color: #F8FAFC;
}

.post-quote::before {
    content: """;
    font-size: 6rem;
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--primary-light);
    opacity: 0.3;
}

.post-quote p {
    position: relative;
    z-index: 1;
}

.post-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    margin-top: 1rem;
    text-align: right;
}

.post-tags {
    margin: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.post-tags span {
    font-weight: 600;
}

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

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

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

.post-share span {
    font-weight: 600;
}

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

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

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

.post-author-bio img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin-right: 2rem;
}

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

.author-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.author-social a {
    color: var(--text-light);
}

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

.related-posts {
    margin: 4rem 0;
}

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

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

.related-post:hover {
    transform: translateY(-5px);
}

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

.related-post h4 {
    padding: 1.5rem;
    margin-bottom: 0;
    font-size: 1.6rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.back-to-blog, .post-nav-links a {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.back-to-blog svg {
    margin-right: 0.5rem;
}

.next-post svg {
    margin-left: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h2 {
        font-size: 3.6rem;
    }
    
    .story-content, 
    .services-intro,
    .about-content,
    .approach-content {
        flex-direction: column;
    }
    
    .story-content img, 
    .services-intro img,
    .about-image,
    .approach-image,
    .story-text,
    .intro-text,
    .about-text,
    .approach-text {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56.25%;
    }
    
    header {
        padding: 1.5rem;
    }
    
    .logo-container h1 {
        font-size: 2rem;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .services-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image {
        min-width: 100%;
    }
    
    .newsletter-content,
    .footer-top {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 2.8rem;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .post-author-bio img {
        margin: 0 auto 2rem;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .modal-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .page-header h2 {
        font-size: 3rem;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-icon {
        width: 100%;
        padding: 2rem;
    }
    
    .service-details-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-share {
        flex-wrap: wrap;
    }
}
