/* Base Styles */
:root {
    --primary-color: #00796b;
    --primary-dark: #004d40;
    --primary-light: #4db6ac;
    --secondary-color: #ff9800;
    --secondary-dark: #f57c00;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --font-sans: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

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

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;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

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

.tertiary-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.tertiary-btn:hover {
    background-color: var(--background-alt);
    color: var(--text-color);
}

.center-btn {
    text-align: center;
    margin: 2rem 0;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 4rem 0;
}

/* Header Styles */
header {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

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

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

.font-size-control {
    display: flex;
    align-items: center;
}

#increase-font {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    padding: 0.5rem;
    transition: var(--transition);
}

#increase-font:hover {
    color: var(--primary-color);
}

#increase-font svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    background-color: var(--background-alt);
    padding: 5rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
    background-color: white;
}

.features h2,
.latest-posts h2,
.testimonials h2,
.comparison h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

/* Comparison Table */
.comparison {
    background-color: var(--background-alt);
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: var(--background-alt);
}

table tr:hover {
    background-color: rgba(0, 121, 107, 0.05);
}

/* Latest Posts Section */
.latest-posts {
    background-color: white;
}

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

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

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

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.5rem;
}

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

/* Testimonials Section */
.testimonials {
    background-color: var(--background-alt);
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 1rem;
}

.testimonial {
    flex: 0 0 calc(33.333% - 1.5rem);
    scroll-snap-align: start;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

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

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

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

.author-info h4 {
    margin-bottom: 0;
}

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

/* Footer Styles */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

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

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

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

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

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

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    display: none;
}

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

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
}

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

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-content a:hover {
    color: white;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

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

/* Blog Styles */
.blog-content {
    padding: 4rem 0;
}

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

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

.blog-post .post-image {
    height: 300px;
}

.blog-post .post-content {
    padding: 2rem;
}

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

.post-meta .date,
.post-meta .category {
    display: flex;
    align-items: center;
}

.blog-post h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.blog-post h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

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

.blog-post li {
    margin-bottom: 0.5rem;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

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

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

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

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

.value-card {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

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

.team-section h2,
.credentials h2,
.about-values h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

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

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

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

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

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

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

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

.team-member .social-links {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.team-member .social-links a {
    background-color: var(--primary-color);
}

.credentials-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.credentials-text {
    flex: 3;
}

.credentials-image {
    flex: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    flex: 0 0 50px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-content h3 {
    margin-bottom: 0.5rem;
}

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

.social-connections h3 {
    margin-bottom: 1rem;
}

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

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

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

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

.form-group.checkbox input {
    margin-top: 5px;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 121, 107, 0.2);
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--box-shadow);
}

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

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thank-you-message h3 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
    }
    
    .about-intro,
    .credentials-content {
        flex-direction: column;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .testimonial {
        flex: 0 0 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .font-size-control {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Font Size Increase */
body.larger-font {
    font-size: 18px;
}

body.larger-font h1 {
    font-size: 2.75rem;
}

body.larger-font h2 {
    font-size: 2.25rem;
}

body.larger-font h3 {
    font-size: 1.75rem;
}
