/* Global Styles */
:root {
    --primary-color: #00a67d;
    --primary-dark: #008f6b;
    --secondary-color: #4a90e2;
    --text-color: #333;
    --text-light: #666;
    --background-light: #e8f5f2;
    --white: #fff;
    --border-color: #e5e5e5;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Header */
header,
header.scroll-down,
header.scroll-up {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: padding 0.3s, min-height 0.3s;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-height: 70px; /* 43px logo + 8px top + 8px bottom */
}
header.scroll-down, header.scroll-up {
    padding-top: 40px;
    padding-bottom: 10px;
    min-height: 70px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    min-width: 200px;
    min-height: 43px;
    display: flex;
    align-items: center;
    height: 43px;
}

.logo img,
.custom-logo {
    width: 200px;
    height: 43px;
    object-fit: contain;
    display: block;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo span {
    font-size: 14px;
    color: var(--text-light);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav a:hover:after,
nav a.active:after {
    width: 100%;
}

.shop-now-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.shop-now-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background-color: var(--background-light);
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.discover-more {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
}

.discover-more:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.08);
}

/* Why Choose Section */
.why-choose h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 166, 125, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    overflow: hidden;
    min-height: 200px;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.stars {
    color: #f1c40f;
    font-size: 20px;
    margin-bottom: 15px;
}

.customer-name {
    font-weight: 600;
    font-style: italic;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Blog Section */
.blog h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
}

.category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Blog Styles */
.blog {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin: 0 0 15px;
    font-size: 1.2em;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--secondary-color);
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Single Post Styles */
.single-post {
    padding: 0px 0;
    margin-top: 0; /* Removed margin to eliminate space above header */
}

.post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.post-header h1 {
    margin: 20px 0;
    font-size: 2.5em;
    line-height: 1.3;
}

.post-meta {
    color: #666;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Table Styles for Blog Posts */
.post-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Table wrapper for horizontal scrolling on mobile */
.post-content .table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content table thead {
    background-color: var(--primary-color);
    color: #fff;
}

.post-content table th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

.post-content table td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #eee;
}

.post-content table tr:nth-child(even) {
    background-color: var(--background-light);
}

.post-content table tr:hover {
    background-color: rgba(0, 166, 125, 0.05);
}

/* Responsive table styles */
@media (max-width: 768px) {
    .post-content table {
        font-size: 0.9em;
    }
    
    .post-content table th,
    .post-content table td {
        padding: 8px 10px;
    }
}

/* Comparison table specific styles */
.post-content table.comparison {
    margin: 2rem 0;
}

.post-content table.comparison th {
    text-align: center;
}

.post-content table.comparison td:first-child {
    font-weight: 500;
}

.post-content table.comparison .highlight {
    background-color: rgba(0, 166, 125, 0.1);
    font-weight: 600;
}

.post-footer {
    max-width: 800px;
    margin: 40px auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 1;
}

.post-tags {
    margin-bottom: 20px;
}

.post-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 15px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: #fff;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.prev-post,
.next-post {
    flex: 0 0 45%;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.prev-post:hover,
.next-post:hover {
    background: var(--primary-color);
    color: #fff;
}

.related-posts {
    background: #f9f9f9;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 2em;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post,
    .next-post {
        flex: 0 0 100%;
    }
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.subscribe-btn {
    background-color: var(--text-color);
    color: var(--white);
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
}

.subscribe-btn:hover {
    background-color: #444;
}

.privacy-note {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: #024d3c;
    color: var(--white);
    padding: 80px 0 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
}

footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-info li i {
    margin-top: 5px;
    color: var(--primary-color);
}

.footer-newsletter {
    display: flex;
    margin-top: 20px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
}

.footer-newsletter button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.product-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.product-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-option:hover {
    border-color: #4CAF50;
}

.product-option.active {
    border-color: #4CAF50;
    background-color: #f8fff8;
}

.product-option h3 {
    margin: 0 0 10px;
    color: #333;
}

.product-option .price {
    font-size: 24px;
    color: #4CAF50;
    margin: 10px 0;
    font-weight: bold;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #4CAF50;
    outline: none;
}

.form-group input.error {
    border-color: #ff0000;
}

.checkout-btn {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #45a049;
}

.modal .thank-you {
    text-align: center;
    padding: 40px;
}

.modal .thank-you h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.close-modal-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    background-color: #fff;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.info-card .icon i {
    color: #fff;
    font-size: 20px;
}

.info-card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.social-links {
    margin-top: 20px;
}

.social-links h3 {
    margin-bottom: 15px;
}

.social-links .social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-wrapper {
    padding: 40px;
}

.form-wrapper h2 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.form-wrapper p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Contact Form 7 Styles */
.wpcf7-form {
    display: grid;
    gap: 20px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 166, 125, 0.1);
}

.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
}

/* Page with Sidebar Layout */
.content-sidebar-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin: 60px 0;
}

.main-content {
    min-width: 0;
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Search Widget */
.search-wrapper {
    position: relative;
}

.search-field {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 166, 125, 0.1);
}

.search-submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: var(--primary-color);
}

/* About Widget */
.about-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

.about-image {
    margin-top: 15px;
    border-radius: 6px;
    width: 100%;
    height: auto;
}

/* Recent Posts Widget */
.recent-post-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.post-content h4 {
    font-size: 0.95rem;
    margin: 0 0 5px;
    line-height: 1.4;
}

.post-content h4 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h4 a:hover {
    color: var(--primary-color);
}

.post-date {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Advertisement Widget */
.ad-widget {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.ad-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-sidebar-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .ad-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .advantage-cards {
        flex-direction: column;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .symptoms-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .subscribe-btn {
        border-radius: 4px;
        padding: 12px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .modal-content {
        margin: 0;
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-options {
        flex-direction: column;
    }
    
    .logo img,
    .custom-logo {
        width: 140px;
        height: auto;
    }
    .logo {
        min-width: 140px;
        min-height: 52px;
        height: 52px;
    }
    header {
        min-height: 80px;
    }
    header.scroll-down, header.scroll-up {
        min-height: 72px;
    }
}