/*
Theme Name: E-Move Management
Description: Simple vitrine theme for E-Move Management coaching services
Version: 1.0
Author: Your Name
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    color: #2c5282;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.site-logo img {
    max-height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.site-logo a:hover img {
    transform: scale(1.05);
}

.site-tagline-wrapper {
    text-align: center;
    margin-top: 0.5rem;
}

.site-tagline {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Navigation Menu */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #2c5282;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    background: rgba(207, 189, 165, 0.8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 189, 165, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c5282;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    padding: 0;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-section.has-background-image {
    background-blend-mode: normal;
    padding: 0;
    min-height: auto;
    height: auto;
    aspect-ratio: attr(data-aspect-ratio);
    max-height: 100vh;
    width: 100%;
}


.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.hero-main-content {
    flex: 1;
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text-overlay {
    position: absolute;
    left: 5%;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 3;
}

/* Hero Service Items */
.hero-service-items {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    min-height: 400px;
    gap: 2rem;
    padding: 2rem;
    max-width: 400px;
}

.hero-service-item {
    text-align: center;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-service-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: #2c5282;
}

.hero-service-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: #666;
}

/* Hero Overlay Columns (Legacy) */
.hero-overlay-columns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 350px;
    min-width: 300px;
}

.hero-overlay-column {
    text-align: center;
    padding: 1rem 0;
}

.hero-overlay-column:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 1.5rem;
}

.overlay-column-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.overlay-column-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.hero-section.has-background-image .container {
    padding: 2rem 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section Width Options */
.hero-section.width-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
}

.hero-section.width-wide {
    max-width: 80vw;
    margin: 0 auto;
    border-radius: 8px;
}

.hero-section.width-narrow {
    max-width: 60vw;
    margin: 0 auto;
    border-radius: 8px;
}

/* Hero Section Height Options */
.hero-section.height-small {
    height: 300px;
    min-height: auto;
}

.hero-section.height-medium {
    height: 500px;
    min-height: auto;
}

.hero-section.height-large {
    height: 700px;
    min-height: auto;
}

.hero-section.height-full {
    height: 100vh;
    min-height: auto;
}

.hero-section.height-custom {
    min-height: auto;
}

/* Override for background images with fixed heights */
.hero-section.has-background-image.height-small,
.hero-section.has-background-image.height-medium,
.hero-section.has-background-image.height-large,
.hero-section.has-background-image.height-full,
.hero-section.has-background-image.height-custom {
    background-size: cover;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Post-Hero Section */
.post-hero-section {
    width: 100%;
    transition: all 0.3s ease;
}

.post-hero-section.padding-none {
    padding: 0;
}

.post-hero-section.padding-small {
    padding: 2rem 0;
}

.post-hero-section.padding-medium {
    padding: 3rem 0;
}

.post-hero-section.padding-large {
    padding: 4rem 0;
}

.post-hero-section.padding-xlarge {
    padding: 5rem 0;
}

.post-hero-content {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.post-hero-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-hero-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-hero-body h1,
.post-hero-body h2,
.post-hero-body h3,
.post-hero-body h4,
.post-hero-body h5,
.post-hero-body h6 {
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.post-hero-body h1 { font-size: 2rem; }
.post-hero-body h2 { font-size: 1.8rem; }
.post-hero-body h3 { font-size: 1.5rem; }
.post-hero-body h4 { font-size: 1.3rem; }
.post-hero-body h5 { font-size: 1.2rem; }
.post-hero-body h6 { font-size: 1.1rem; }

.post-hero-body p {
    margin-bottom: 1.5rem;
}

.post-hero-body ul,
.post-hero-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

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

.post-hero-body blockquote {
    border-left: 4px solid currentColor;
    padding: 1rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    opacity: 0.9;
}

.post-hero-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.post-hero-body a {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.post-hero-body a:hover {
    opacity: 0.8;
}

/* Logo Carousel Section */
.logo-carousel-section {
    padding: 3rem 0;
    overflow: hidden;
}

.logo-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 2rem auto 0;
}

.logo-carousel {
    display: flex;
    animation: scroll-logos 60s linear infinite;
    gap: 4rem;
    align-items: center;
}


.logo-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 120px;
    padding: 0.5rem;
}

.logo-slide img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.logo-slide:hover img,
.logo-slide a:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.logo-slide a {
    display: block;
    transition: transform 0.3s ease;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #2c5282;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    transform: scale(1.1);
}

.carousel-prev {
    margin-left: -20px;
}

.carousel-next {
    margin-right: -20px;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for multiple elements */
.scroll-animate:nth-child(1) { transition-delay: 0ms; }
.scroll-animate:nth-child(2) { transition-delay: 100ms; }
.scroll-animate:nth-child(3) { transition-delay: 200ms; }
.scroll-animate:nth-child(4) { transition-delay: 300ms; }
.scroll-animate:nth-child(5) { transition-delay: 400ms; }

/* Special animations for specific elements */
.service-card.scroll-animate {
    transform: translateY(80px) scale(0.95);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card.scroll-animate.animate-in {
    transform: translateY(0) scale(1);
}

.logo-slide.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.logo-slide.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.section-title.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.blog-post.scroll-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-post.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Page and post content animations removed to prevent text visibility issues */

/* Contact section special animation */
.contact-section.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-section.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        transition: opacity 0.3s ease;
        transform: none;
    }
    
    .scroll-animate.animate-in {
        transform: none;
    }
    
    .service-card.scroll-animate,
    .blog-post.scroll-animate {
        transform: none;
    }
    
    .service-card.scroll-animate.animate-in,
    .blog-post.scroll-animate.animate-in {
        transform: none;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    position: relative;
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 1rem auto 0;
    position: relative;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin: 1.5rem 0 2.5rem 0;
    color: inherit;
    position: relative;
    z-index: 2;
}

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

.author-photo {
    flex-shrink: 0;
}

.author-photo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 0.25rem 0;
    color: inherit;
}

.author-company {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    color: inherit;
}

/* Testimonials Navigation */
.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonials-prev,
.testimonials-next {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #2c5282;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonials-prev:hover,
.testimonials-next:hover {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.2);
}

/* Mobile Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-photo img {
        width: 50px;
        height: 50px;
    }
    
    .testimonials-navigation {
        gap: 1rem;
    }
    
    .testimonials-prev,
    .testimonials-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Testimonials scroll animation */
.testimonials-section.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-section.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Services Section */
.services-section {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    color: #2c5282;
    text-align: center;
    margin-bottom: 2rem;
}

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

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease;
}

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

.service-title {
    color: #2c5282;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background: #2c5282;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Page and Post Content */
.page-content, .post-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.page-header, .post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-title, .post-title {
    color: #2c5282;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta span {
    margin-right: 1rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-body, .post-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.page-body h2, .post-body h2,
.page-body h3, .post-body h3 {
    color: #2c5282;
    margin: 2rem 0 1rem 0;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #666;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.post-navigation a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #2c5282;
}

/* Blog Listing */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-title {
    color: #2c5282;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-posts {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-post .post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-post .post-title a {
    color: #2c5282;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post .post-title a:hover {
    color: #667eea;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2c5282;
}

.pagination {
    text-align: center;
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    color: #2c5282;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: #667eea;
    color: white;
}

/* 404 Error Page */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-title {
    font-size: 8rem;
    color: #667eea;
    margin-bottom: 1rem;
    font-weight: bold;
}

.error-subtitle {
    font-size: 2rem;
    color: #2c5282;
    margin-bottom: 2rem;
}

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

.error-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

.error-search {
    margin: 2rem 0;
}

.error-actions {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #2c5282;
    transform: translateY(-2px);
}

/* Search Form */
.search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
}

.search-form input[type="submit"] {
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form input[type="submit"]:hover {
    background: #2c5282;
}

/* Footer */
/* Footer */
.site-footer {
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-default {
    text-align: center;
}

.footer-default p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Custom Footer Styles */
.footer-content {
    max-width: 100%;
}

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

.footer-column {
    line-height: 1.6;
}

.footer-column p {
    margin: 0.5rem 0;
}

.footer-column a {
    transition: opacity 0.3s ease;
    text-decoration: underline;
}

.footer-column a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

/* Quick Links */
.footer-quick-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.quick-links-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.quick-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 2rem;
}

.quick-links-list li {
    margin: 0.5rem 0;
}

.quick-links-list a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.quick-links-list a:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0;
}

/* System Color Scheme Support */
@media (prefers-color-scheme: dark) {
    :root.system-color-scheme {
        --header-bg-color: var(--dark-header-bg, rgba(30, 30, 30, 0.9));
        --body-bg-color: var(--dark-body-bg, #1a1a1a);
        --text-color: var(--dark-text-color, #e5e5e5);
        --link-color: var(--dark-link-color, #87ceeb);
        --border-color: rgba(255, 255, 255, 0.2);
        --shadow-color: rgba(0, 0, 0, 0.5);
    }
}

@media (prefers-color-scheme: light) {
    :root.system-color-scheme {
        --header-bg-color: var(--light-header-bg, rgba(255, 255, 255, 0.7));
        --body-bg-color: var(--light-body-bg, #f8f9fa);
        --text-color: var(--light-text-color, #333);
        --link-color: var(--light-link-color, #2c5282);
        --border-color: rgba(0, 0, 0, 0.1);
        --shadow-color: rgba(0, 0, 0, 0.1);
    }
}

/* Apply system colors when enabled */
.system-color-scheme body {
    background-color: var(--body-bg-color);
    color: var(--text-color);
}

.system-color-scheme .site-header {
    background: var(--header-bg-color);
    border-bottom: 1px solid var(--border-color);
}

.system-color-scheme .nav-menu a {
    color: var(--text-color);
}

.system-color-scheme .nav-menu a:hover {
    color: var(--link-color);
}

.system-color-scheme .site-title a {
    color: var(--text-color) !important;
}

.system-color-scheme .hero-section {
    color: var(--text-color);
}

.system-color-scheme .hero-service-item {
    background: var(--header-bg-color);
    color: var(--text-color);
    box-shadow: 0 8px 32px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.system-color-scheme .hero-service-title {
    color: var(--link-color);
}

.system-color-scheme .post-hero-section {
    background-color: var(--body-bg-color) !important;
    color: var(--text-color) !important;
}

.system-color-scheme .logo-carousel-section {
    background-color: var(--header-bg-color) !important;
    color: var(--text-color);
}

.system-color-scheme .contact-section {
    background-color: var(--body-bg-color);
    color: var(--text-color);
}

.system-color-scheme .testimonials-section {
    background-color: var(--header-bg-color) !important;
    color: var(--text-color) !important;
}

.system-color-scheme .testimonial-slide {
    background: var(--body-bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.system-color-scheme .footer-column a,
.system-color-scheme .quick-links-list a {
    color: var(--link-color) !important;
}

.system-color-scheme .section-title {
    color: var(--text-color);
}

/* Mobile menu dark mode */
.system-color-scheme .mobile-menu-toggle span {
    background-color: var(--text-color);
}

/* Form elements dark mode */
.system-color-scheme input,
.system-color-scheme textarea,
.system-color-scheme select {
    background-color: var(--header-bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.system-color-scheme input:focus,
.system-color-scheme textarea:focus,
.system-color-scheme select:focus {
    border-color: var(--link-color);
    box-shadow: 0 0 0 2px rgba(135, 206, 235, 0.2);
}

/* Buttons dark mode */
.system-color-scheme button,
.system-color-scheme .btn {
    background-color: var(--link-color);
    color: var(--body-bg-color);
    border: 1px solid var(--link-color);
}

.system-color-scheme button:hover,
.system-color-scheme .btn:hover {
    background-color: transparent;
    color: var(--link-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Post-Hero Section Mobile */
    .post-hero-title {
        font-size: 1.8rem;
    }
    
    .post-hero-body {
        font-size: 1rem;
    }
    
    .post-hero-content {
        text-align: left;
    }
    
    /* Hero Overlay Mobile */
    .hero-section .container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-main-content {
        order: 1;
        text-align: center;
    }
    
    .hero-text-overlay {
        position: static;
        left: auto;
        height: auto;
        width: 100%;
        padding: 2rem 0;
    }
    
    .hero-service-items {
        height: auto;
        min-height: auto;
        max-width: 100%;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .hero-service-item {
        padding: 1.25rem;
    }
    
    .hero-service-title {
        font-size: 1.2rem;
    }
    
    .hero-service-text {
        font-size: 0.9rem;
    }
    
    .hero-overlay-columns {
        order: 2;
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }
    
    .overlay-column-title {
        font-size: 1.1rem;
    }
    
    .overlay-column-text {
        font-size: 0.9rem;
    }
    
    /* Logo Carousel Mobile */
    .logo-carousel {
        gap: 2rem;
    }
    
    .logo-slide {
        min-width: 100px;
        height: 60px;
    }
    
    .logo-slide img {
        max-height: 40px;
        max-width: 120px;
    }
    
    .carousel-controls {
        display: none;
    }
    
    /* Footer Mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
    
    .quick-links-list {
        flex-direction: column;
        gap: 0;
    }
    
    .quick-links-list li {
        margin: 0.75rem 0;
    }

    /* Mobile Header Layout */
    .header-content {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .site-branding {
        order: 1;
        flex: 1;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .site-logo img {
        max-height: 80px;
    }
    
    .site-tagline {
        font-size: 0.8rem;
    }
    
    .main-navigation {
        display: none;
        order: 4;
        width: 100%;
        margin-top: 1rem;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        background: rgba(248, 249, 250, 1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu a {
        padding: 1rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.3);
        background: transparent;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    /* Mobile menu toggle animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}