/* Base styles and reset */
:root {
    --primary-color: #4e6ef2;
    --primary-dark: #3a56d4;
    --secondary-color: #6c757d;
    --accent-color: #ff7b25;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --text-color: #333;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul, ol {
    list-style-position: inside;
}

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
}

button {
    cursor: pointer;
}

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

section {
    padding: 80px 0;
}

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

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

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 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 var(--transition-speed) 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-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--light-color);
    text-align: center;
    padding: 120px 0;
    background-image: linear-gradient(rgba(78, 110, 242, 0.1), rgba(78, 110, 242, 0.1)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--dark-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

/* Buttons */
.btn-primary, 
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    text-align: center;
}

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

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

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

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

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Summary Section */
.summary {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.summary h2 {
    color: white;
    margin-bottom: 15px;
}

.summary p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

.featured-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    background-color: white;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
}

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

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

.post-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

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

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

/* Statistics */
.statistics {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo, 
.footer-links, 
.footer-legal, 
.footer-contact, 
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 10px;
}

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

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

.footer-links ul, 
.footer-legal ul {
    list-style: none;
}

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

.footer-links a, 
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) ease;
}

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

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact svg {
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) ease;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

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

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.cookie-content h4 {
    color: white;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
    max-width: 800px;
}

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

.btn-cookie-accept,
.btn-cookie-customize,
.btn-cookie-decline {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

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

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

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

.btn-cookie-customize:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.cookie-more-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: underline;
}

.cookie-more-info:hover {
    color: white;
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(78, 110, 242, 0.1), rgba(78, 110, 242, 0.1)), url('images/header-bg.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Blog Page */
.blog-content {
    padding: 80px 0;
}

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

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

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

.blog-image {
    flex: 1;
    min-height: 300px;
}

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

.blog-card-content {
    flex: 2;
    padding: 30px;
}

.blog-card-content h2 {
    margin-bottom: 10px;
}

.blog-card-content h2 a {
    color: var(--dark-color);
    transition: color var(--transition-speed) ease;
}

.blog-card-content h2 a:hover {
    color: var(--primary-color);
}

.blog-summary {
    padding: 40px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.blog-summary h2 {
    color: white;
    margin-bottom: 20px;
}

.blog-summary p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* About Page */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

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

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text ul {
    margin-bottom: 30px;
    list-style-type: none;
}

.about-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

.team-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow-color);
    transition: transform var(--transition-speed) ease;
}

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

.team-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-member h3, 
.team-member p {
    padding: 0 20px;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p {
    margin-bottom: 20px;
}

.team-member p:nth-child(3) {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px var(--shadow-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-history {
    text-align: center;
}

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

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

.certification-item img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

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

.certification-item p {
    margin-bottom: 0;
}

/* Services Page */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-intro p {
    font-size: 1.1rem;
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    transition: transform var(--transition-speed) ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.service-card h3 {
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--primary-color);
}

.methodology {
    background-color: var(--light-color);
    text-align: center;
}

.methodology-steps {
    margin-top: 50px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .step {
        flex-direction: row;
        align-items: flex-start;
    }
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .step-number {
        margin-right: 20px;
        margin-bottom: 0;
    }
}

.step-content {
    text-align: center;
}

@media (min-width: 768px) {
    .step-content {
        text-align: left;
    }
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px var(--shadow-color);
    flex: 1;
    min-width: 300px;
}

.testimonial-content {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.testimonial-content:before {
    content: """;
    position: absolute;
    left: -20px;
    top: -20px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--secondary-color);
}

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

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

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

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

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 40px;
}

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

.contact-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text p, 
.contact-text address {
    margin-bottom: 0;
    font-style: normal;
}

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

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input, 
textarea, 
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(78, 110, 242, 0.2);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-container input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.form-actions {
    grid-column: span 2;
    text-align: center;
}

.required {
    color: var(--danger-color);
}

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

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

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalopen 0.4s;
}

@keyframes modalopen {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

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

.modal-body {
    padding: 40px;
    text-align: center;
}

.modal-body h2 {
    margin-bottom: 20px;
    color: var(--success-color);
}

.modal-body p {
    margin-bottom: 30px;
}

.close-btn {
    display: inline-block;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: var(--success-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--success-color);
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    nav ul li {
        margin-left: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }
    
    .timeline-dot {
        left: 21px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 0;
        margin-bottom: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    nav {
        display: none;
    }
    
    nav.show {
        display: block;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links, 
    .footer-legal, 
    .footer-contact, 
    .footer-social {
        width: 100%;
    }
    
    .timeline-content {
        padding: 15px 20px;
    }
    
    .blog-image {
        min-height: 200px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .form-actions {
        grid-column: 1;
    }
    
    .modal-content {
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-body {
        padding: 20px;
    }
}
