/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --primary-color-light: #81C784;
    --primary-color-dark: #388E3C;
    --secondary-color: #F5F5F5;
    --tertiary-color: #607D8B;
    --text-color: #333333;
    --text-color-light: #757575;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #9E9E9E;
    --error-color: #F44336;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --max-width: 1200px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

.btn-secondary:hover {
    background-color: #546E7A;
    color: var(--white);
}

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

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

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

.logo-container {
    flex: 0 0 auto;
}

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

.main-nav {
    flex: 1 0 auto;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Banner Section */
.banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 80px; /* Adjust based on header height */
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color-dark);
    z-index: -1;
}

.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.banner-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.banner-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    padding: 30px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

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

.service-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-color-light);
}

/* About Us Section */
.about {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 20px;
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
}

.about-list {
    margin-top: 20px;
    list-style-type: disc;
    padding-left: 20px;
}

.about-list li {
    margin-bottom: 10px;
}

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

.about-image img {
    max-width: 400px;
}

/* Why Choose Us Section */
.why-us {
    padding: 100px 0;
    background-color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-us-item {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.why-us-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.count {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color-light);
    margin-bottom: 20px;
}

.why-us-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.why-us-item p {
    color: var(--text-color-light);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text p {
    position: relative;
    z-index: 1;
}

.testimonial-text::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--primary-color-light);
    opacity: 0.2;
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: 0;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-color-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-prev,
.testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background-color: var(--primary-color-dark);
    color: var(--white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-group input[type="email"] {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    min-width: 200px;
    background-color: var(--white);
    color: var(--text-color);
    display: block;
    height: 48px;
}

.newsletter-form-group input[type="email"] {
    margin-bottom: 15px;
    width: 100%;
}

.form-group button {
    border-radius: var(--border-radius);
}

/* For contact forms, keep the original style */
.contact-form-container .form-group input[type="email"] {
    border-radius: var(--border-radius);
}

.form-check {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

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

.form-check label {
    font-size: 0.9rem;
}

.form-check a {
    color: var(--white);
    text-decoration: underline;
}

.form-check a:hover {
    color: var(--secondary-color);
}

/* Blog Preview Section */
.blog-preview {
    padding: 100px 0;
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.blog-img {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 10px;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

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

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 10px;
}

.view-all-link {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p, .contact-item a {
    color: var(--text-color-light);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
}

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

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

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

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

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

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

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    display: block;
}

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

form textarea {
    resize: vertical;
    min-height: 150px;
}

form button {
    margin-top: 10px;
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links a {
    color: var(--gray-medium);
    transition: var(--transition);
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 20px;
    display: none;
}

.cookie-banner.visible {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

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

.cookie-content p {
    margin-bottom: 20px;
}

.cookie-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

.modal.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

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

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

.cookie-options {
    margin: 30px 0;
}

.cookie-option {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-medium);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    font-weight: bold;
    margin-left: 10px;
}

.cookie-option p {
    margin-top: 5px;
    margin-left: 30px;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* Thank You Page */
.thank-you {
    padding: 150px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
}

.thank-you h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.thank-you p {
    margin-bottom: 30px;
    color: var(--text-color-light);
}

.back-btn {
    margin-top: 30px;
}

/* Blog Page */
.page-header {
    background-color: var(--primary-color-dark);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.blog {
    padding: 100px 0;
    background-color: var(--white);
}

/* Article Page */
.article {
    padding: 100px 0;
    background-color: var(--white);
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
}

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.article-meta {
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.article-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.article-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    margin: 40px 0 20px;
    font-size: 2rem;
}

.article-content h3 {
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content ul li, .article-content ol li {
    margin-bottom: 10px;
}

.article-content ul {
    list-style-type: disc;
}

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

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

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

.article-tip {
    background-color: var(--gray-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-tip h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

.article-cta {
    background-color: var(--primary-color-light);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 50px 0;
    text-align: center;
}

.article-cta h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.article-cta p {
    margin-bottom: 20px;
    color: var(--white);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.article-navigation a {
    display: flex;
    align-items: center;
}

.article-navigation a span {
    margin: 0 5px;
}

.related-articles {
    background-color: var(--gray-light);
    padding: 80px 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 50px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.cookie-table th, .cookie-table td {
    border: 1px solid var(--gray-medium);
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background-color: var(--gray-light);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: var(--gray-light);
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
    background-color: var(--white);
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.last-updated {
    font-style: italic;
    color: var(--text-color-light);
    margin-bottom: 30px;
    text-align: right;
}

.legal-text h2 {
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.legal-text h3 {
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.legal-text p {
    margin-bottom: 20px;
}

.legal-text ul, .legal-text ol {
    margin: 20px 0;
    padding-left: 25px;
}

.legal-text ul li, .legal-text ol li {
    margin-bottom: 10px;
}

.legal-text ul {
    list-style-type: disc;
}

.legal-text ol {
    list-style-type: decimal;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

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