/*
Theme Name: SuperfastWP
Author: Your Name
Description: Professional WordPress development and emergency support services theme
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: superfastwp
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

:root {
    --primary: #FF4D00;    /* Meets WCAG AA contrast */
    --secondary: #FFA500;  /* Meets WCAG AA contrast */
    --dark: #2D2D2D;      /* Good contrast with light backgrounds */
    --light: #FFFFFF;     /* Good contrast with dark backgrounds */
    --gray: #F5F5F5;      /* Light gray for sections */
    --gray-light: #F8F8F8; /* Very light gray for subtle backgrounds */
    --gray-dark: #E5E5E5;  /* Medium gray for borders and separators */
    
    /* Common values */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.6s ease-out;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-sm: 4px;
}

/* Common utility classes */
.transition-base {
    transition: var(--transition-base);
}

.transition-slow {
    transition: var(--transition-slow);
}

.shadow-sm,
.shadow-md,
.shadow-lg {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    font-display: swap;
}

/* Base link styles */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* Base underline effect */
.underline-effect {
    position: relative;
}

.underline-effect::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.underline-effect:hover::after {
    width: 100%;
}

/* Navigation menu links */
.nav-menu a {
    color: var(--light);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a::after {
    bottom: 0;
    background: var(--light);
}

/* Footer menu links */
.footer-menu a {
    padding-left: 0;
}

.footer-menu a::before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary);
}

.footer-menu a:hover {
    color: var(--secondary);
}

.footer-menu a:hover::before {
    width: 0.5rem;
}

/* Social icons */
.social-icons a,
.footer-social-icons a {
    transition: var(--transition-base);
}

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

.footer-social-icons a {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover,
.footer-social-icons a:hover {
    transform: translateY(-2px);
}

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

/* Service card and contact info links */
.service-card a,
.contact-info a {
    color: var(--dark);
    transition: var(--transition-base);
}

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

.contact-info a:hover {
    color: var(--secondary);
}

/* Responsive sizing */
.svg-icon--responsive {
    width: clamp(24px, 5vw, 48px);
    height: auto;
}

/* Interactive states */
.service-icon .svg-icon {
    transition: var(--transition-base);
}

.service-card:hover .svg-icon {
    transform: scale(1.1);
}

/* Loading states */
.button-loading .svg-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Scroll Indicator Animation */
@keyframes scrollBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    animation: scrollBlink 2s ease-in-out infinite, scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.8;
}

/* Common button styles */
.button,
.search-submit {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 500;
}

/* Responsive design */
@media (min-width: 768px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Typography */
section h1 {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

/* Responsive typography */
@media (max-width: 768px) {
    section h1 {
        font-size: 2rem;
    }
}

/* Menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: var(--dark);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu li {
        display: block;
        margin: 0.5rem 0;
    }

    /* Increase touch targets */
    /* .nav-menu a,
    .button,
    .menu-toggle {
        padding: 0.75rem 1rem;
        min-height: 44px;
    } */

    /* Improve spacing for mobile */
    .container {
        padding: 0 1.5rem;
    }

    /* Adjust hero section for mobile */
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

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

    /* Improve button spacing */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .button {
        width: 100%;
        text-align: center;
    }

    /* Adjust service cards for mobile */
    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    /* Adjust footer for mobile */
    .footer-grid {
        gap: 2rem;
    }

    .footer-info,
    .footer-nav,
    .footer-hours {
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }

    /* Improve contact page layout */
    .contact-grid {
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    /* Add smooth scrolling for iOS */
    html {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent text size adjustment */
    html {
        -webkit-text-size-adjust: 100%;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 0;
}

.contact-page .page-header {
    padding-top: 8rem;  /* Add more space at the top */
    margin-bottom: 0;
    position: relative;
}

.contact-page .page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem 0 2rem;
}

.contact-page .page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.contact-page .page-header .contact-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.contact-page .container {
    padding: 0 0 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    background: var(--gray);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-form {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.contact-form h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Form Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: var(--dark);
    min-height: 38px;
    box-shadow: none;
    letter-spacing: 0.2px;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    box-sizing: border-box;
}

.wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.4;
}

.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);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.1);
    outline: none;
    transform: none;
}

.wpcf7-form input[type="text"]:hover,
.wpcf7-form input[type="email"]:hover,
.wpcf7-form input[type="tel"]:hover,
.wpcf7-form textarea:hover {
    border-color: var(--primary);
    background: var(--light);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05),
                0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Form Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
}

.wpcf7-form label::before {
    display: none;
}

.wpcf7-form label:hover::before {
    display: none;
}

.wpcf7-form label::after {
    display: none;
}

.wpcf7-form label:hover::after {
    display: none;
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    padding-left: 1.5rem;
    position: relative;
}

.wpcf7-not-valid-tip::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.wpcf7-response-output {
    margin: 1.5rem 0 0 0;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    animation: slideUp 0.3s ease-out;
    font-size: 0.95rem;
}

.wpcf7-validation-errors {
    border: 2px solid #dc2626;
    background: rgba(220, 38, 38, 0.05);
    color: #dc2626;
}

.wpcf7-mail-sent-ok {
    border: 2px solid #059669;
    background: rgba(5, 150, 105, 0.05);
    color: #059669;
}

/* Form Wrapper */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0;
}

/* Animations */
@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

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

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

.wpcf7-form {
    animation: formAppear 0.5s ease-out forwards;
}

/* Services Page Styles */

.services-page .page-header {
    padding-top: 8rem;  /* Add more space at the top */
    margin-bottom: 4rem;
    position: relative;
}

.services-page .page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* About Page Styles */

.about-grid {
    display: grid;
    gap: 4rem;
    padding: 4rem 0;
    position: relative;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
}

/* Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    padding: 0;
}

.stat-item {
    position: relative;
    padding: 3rem 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--gray-dark);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--dark);
    opacity: 0.8;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* About Text Section */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.about-text p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--dark);
    margin-bottom: 2.5rem;
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text p.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding: 0 0.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    font-family: var(--font-primary);
}

.about-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.about-text .highlight:hover {
    color: var(--secondary);
    transform: translateY(-1px);
}

.about-text .highlight:hover::after {
    transform: scaleX(1);
}

/* Scroll Indicator */
.scroll-indicator {
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.875rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .about-text {
        padding: 0 1rem;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid {
        gap: 3rem;
        padding: 3rem 0;
    }

    .about-content {
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .about-text {
        padding: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    z-index: -1;
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-image::before {
        display: none;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #4A4A4A, #3A3A3A);
    color: var(--light);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1em;
}

.footer-info {
    flex: 1.5;
    min-width: 0; /* Prevent flex item from overflowing */
}

.footer-column {
    flex: 0.5;
    min-width: 0; /* Prevent flex item from overflowing */
}

.footer-hours {
    flex: 1;
    min-width: 0; /* Prevent flex item from overflowing */
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Ensure menu takes full width of its container */
}

.footer-menu li {
    margin: 0 0 0.75rem 0;
    padding: 0;
    width: 100%; /* Ensure list items take full width */
}

.footer-menu a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition-base);
    padding-left: 0;
    display: block; /* Change to block to ensure consistent width */
    width: 100%; /* Ensure full width */
}

.footer-menu a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

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

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

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-info,
    .footer-nav,
    .footer-hours {
        text-align: center;
        flex: 1;
    }

    .footer-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-info {
        max-width: 70%;
        margin: 0 auto;
    }

    footer .footer-menu a {
        padding: 0;
        min-height: initial;
    }
}

/* Footer Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-contact-info i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    will-change: transform, background-color;
    height: 70px;
    overflow: hidden;
}

.site-header.scroll-down {
    transform: translateY(-100%);
}

.site-header.scroll-up {
    transform: translateY(0);
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    height: 100%;
    position: relative;
}

/* Site Branding Styles */
.site-branding {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.1;
    transform: skewX(-10deg);
}

.site-title a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.25rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); */
}

footer .site-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-title a::before {
    content: url('assets/images/favicon/superfast-bolt-small-white.svg');
    display: inline-block;
    transform: skewX(10deg);
    position: relative;
    left: 0.3em;
    top: 0.06em;
}

footer .site-title a::before {
    content: url('assets/images/favicon/superfast-bolt-small.svg');
    display: inline-block;
    transform: skewX(10deg);
    position: relative;
    left: 0.3em;
    top: 0.06em;
}

.site-title-sub {
    font-size: 0.7rem;
    color: var(--gray-dark);
    font-weight: 600;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes lightningPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.85;
        transform: scale(1.15);
    }
}

.site-title a::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.3s ease;
}

.site-title a:hover::after {
    clip-path: inset(0 0 0 0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.5rem;
    }

    .site-title a {
        letter-spacing: -0.01em;  /* Slightly tighter on mobile */
    }
}

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Main Navigation */

/* Navigation Menu Styles */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
    padding: 0 1.5rem;
}

.nav-menu li:last-child {
    padding-right: 1rem;
}

.nav-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1em;
    background: rgba(255, 255, 255, 0.8);
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Button */
.header-contact {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.header-contact:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.header-contact:hover::before {
    left: 100%;
}

.header-contact i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.header-contact:hover i {
    transform: scale(1.1);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .site-header {
        height: 60px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu li {
        display: block;
        margin: 0.5rem 0;
    }

    .nav-menu a {
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        text-align: center;
    }

    .nav-menu a:hover {
        background: rgba(255, 77, 0, 0.1);
    }

    .menu-toggle svg {
        width: 24px;
        height: 24px;
    }

    .header-contact {
        display: none;
    }
}

/* When header should hide */
.site-header.hide {
    transform: translate3d(0, -100%, 0);
}

/* When header should show */
.site-header.show {
    transform: translate3d(0, 0, 0);
}

/* Update animation classes to use opacity */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.fade-in.active {
    opacity: 1;
}

/* Update Font Awesome icon styles */
.svg-inline--fa {
    display: inline-block;
    height: 1em;
    vertical-align: -0.125em;
}

.header-contact .svg-inline--fa {
    margin-right: 0.2rem;
}

.contact-info .svg-inline--fa,
.footer-contact-info .svg-inline--fa {
    width: 1.25rem;
}

.footer-social-icons .svg-inline--fa {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-contact-info a {
    color: var(--secondary);
}

.footer-contact-info a:hover {
    color: var(--light);
}

/* Ensure icons maintain color on hover */
a:hover .svg-inline--fa {
    color: inherit;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(-1);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    box-sizing: border-box;
    margin-top: 60px; /* Add margin to account for fixed header */
}

/* Why Choose Us Section */
.why-choose {
    padding: 5rem 0;
    background: var(--gray);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-choose .container {
    position: relative;
    z-index: 2;
}

.why-choose .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.feature-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);  /* Smooth transition */
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--light);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);  /* Match parent transition */
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-choose .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Hero Button Styles */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-buttons .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--light);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-buttons .button:hover {
    background: var(--secondary);
    transform: translateX(5px);
}

.hero-buttons .button i {
    font-size: 1.1rem;
}

/* Mobile optimizations for hero buttons */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .button {
        width: initial;
        justify-content: center;
        padding: 0.75rem 1rem;
        text-align: center;
    }
}

/* Hero Icon Styles */
.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Style for the bolt icon */
.bolt-icon {
    font-size: 96px;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transform-origin: center;
    will-change: transform;
}

.bolt-icon:not(:hover) {
    animation: idlePulse 5s infinite 0.5s;
}

.bolt-icon-wrapper {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.bolt-icon-wrapper:hover {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 165, 0, 0.4));
}

/* Style for the plus sign */
.plus-sign {
    font-size: 48px;
    color: var(--light);
    font-weight: bold;
    opacity: 0.9;
    transform: translateY(-4px);
    animation: plusGlow 2s ease-in-out infinite;
}

/* Keep existing WordPress icon styles */
.wordpress-icon {
    width: 96px;
    height: 96px;
    color: var(--light);
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transform-origin: center;
    will-change: transform;
}

.wordpress-icon:not(:hover) {
    animation: idlePulse 5s infinite;
}

.wordpress-icon-wrapper {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.wordpress-icon-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Animation for the plus sign */
@keyframes plusGlow {
    0%, 100% {
        opacity: 0.9;
        transform: translateY(-4px) scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px) scale(1.1);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-icon {
        gap: 1rem;
    }
    
    .bolt-icon {
        font-size: 72px;
        width: 72px;
        height: 72px;
    }
    
    .wordpress-icon {
        width: 72px;
        height: 72px;
    }
    
    .plus-sign {
        font-size: 36px;
    }
}

/* CTA Section Styles */
.cta {
    padding: 5rem 0;
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light);
    margin-left: auto;
    margin-right: auto;
}

.cta .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta .button:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateX(5px);
}

.cta .button i {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta {
        padding: 4rem 1rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}

/* Base responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 0; /* Remove padding on mobile */
    }
    
    section {
        overflow: hidden;
    }

    .container {
        padding: 0 1rem;
    }

    /* Header adjustments */
    .site-header {
        padding: 0.5rem 0;
    }

    .site-title {
        font-size: 1.25rem; /* Smaller logo text */
    }

    .nav-menu {
        background: var(--light);
        width: 100%;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        text-align: center;
    }

    .section-decoration {
        width: 180% !important;
    }

    /* Hero section adjustments */
    .hero {
        padding: 3rem 1rem;
        text-align: center;
    }

    .hero-wave {
        width: 300%;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.1rem;
        margin: 1rem auto;
        max-width: 100%;
    }
    .services-list {
        overflow: hidden;
    }
    /* Services grid adjustments */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Contact page adjustments */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 0.5rem;
    }

    .contact-info p {
        display: block;
    }

    /* About page adjustments */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Features section adjustments */
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* CTA section adjustments */
    .cta h2 {
        font-size: 1.75rem;
    }

    /* Footer adjustments */
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-menu {
        align-items: center;
    }

    .footer-grid p.footer-subtitle {
        margin-bottom: 2rem;
    }

    .hero-content {
        margin-top: 56px; /* Smaller header height on mobile */
    }
}

/* Additional tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 3rem;
    }

    .container {
        padding: 0 2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    /* Remove hover effects that might cause issues on touch devices */
    .button:hover,
    .service-card:hover,
    .feature-card:hover {
        transform: none;
    }

    /* Improve touch scrolling */
    .site-header {
        position: fixed;
        -webkit-overflow-scrolling: touch;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    main .clients-section .section-header h2#clients-heading {
        font-size: 1.8rem;
    }
    /* Layout adjustments */
    .footer-column,
    .footer-grid,
    .grid {
        padding: 0 1rem;
    }

    footer .footer-column {
        margin: 0 auto
    }

    .section {
        padding: 3rem 1rem;
    }

    footer .footer-menu li {
        padding: 0;
    }
    /* Remove bullet points */
    .footer-menu li::before,
    .footer-hours ul li::before {
        display: none;
    }

    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Form elements */
    input,
    select,
    textarea,
    .wpcf7-not-valid-tip {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    .wpcf7-not-valid-tip {
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

    /* Touch feedback */
    /* .button,
    .nav-menu a,
    .footer-menu a,
    .social-icons a,
    .wpcf7-submit {
        min-height: initial;
        min-width: initial;
        display: inline-flex;
        justify-content: center;
        padding: 0.2rem;
    } */

    .button:active,
    .nav-menu a:active,
    .footer-menu a:active,
    .wpcf7-submit:active {
        transform: scale(0.98);
    }

    /* Scrolling performance */
    * {
        -webkit-overflow-scrolling: touch;
    }

    .site-header,
    .nav-menu,
    .hero,
    .services-grid,
    .features-grid,
    table {
        will-change: transform;
        overflow: hidden;
    }

    /* Menu performance */
    .nav-menu {
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Animations */
    .fade-in,
    .slide-up,
    .scale-in {
        transition: none;
        opacity: 1;
        transform: none;
    }

    /* Table responsiveness */
    table {
        display: block;
        overflow-x: auto;
    }

    /* Lists */
    ul,
    ol {
        padding-left: 1.5rem;
    }
}

/* Additional tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Optimize grid layouts for tablets */
    .grid {
        gap: 2rem;
    }

    /* Improve card layouts for tablets */
    .card {
        padding: 1.5rem;
    }

    /* Better spacing for tablet sections */
    .section {
        padding: 4rem 2rem;
    }
}

/* Decorative SVG Styles */
.decorative-svg {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.decorative-svg:hover {
    opacity: 1;
}

.decorative-svg svg {
    width: 100%;
    height: auto;
}

/* Testimonials Section */
.testimonials {
    padding-bottom: 5rem;
    padding-top: 0;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials .section-decoration .section-wave {
    transform: scaleY(1);
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-title {
    text-align: center;
    font-size: 4.5rem;
    margin-top: 0;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
    font-style: italic;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

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

.author-info h4 {
    margin: 0;
    color: var(--dark);
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 1.1rem;
}

.testimonial-rating i {
    margin-right: 0.25rem;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }

    .testimonials .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Section Divider */
.section-divider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 4rem 0;
}

.section-divider-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.section-divider-text {
    flex: 1;
    padding: 2rem;
}

.section-divider .section-divider-text b {
    font-weight: 600;
}

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

.section-divider-image svg {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

.section-divider.image-left .section-divider-content {
    flex-direction: row;
}

.section-divider.image-right .section-divider-content {
    flex-direction: row-reverse;
}

.section-divider-text h2 {
    color: var(--dark);
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.section-divider-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.section-divider.image-right .section-divider-text h2::after {
    left: 0;
    right: auto;
}

.section-divider-text p {
    color: var(--dark);
    font-size: 1rem;
    max-width: 500px;
    margin: 1.5rem 0 0 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .section-divider-text h2 {
        font-size: 2.2rem;
    }
    
    .section-divider-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .section-divider {
        min-height: auto;
        margin: 3rem 0;
    }
    
    .section-divider-content {
        flex-direction: column !important;
        padding: 1rem;
    }
    
    .section-divider-text,
    .section-divider-image {
        width: 100%;
        padding: 1rem;
    }
    
    .section-divider-text {
        order: 1;
        text-align: center;
    }
    
    .section-divider-image {
        order: 2;
    }
    
    .section-divider-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-divider-text h2::after,
    .section-divider.image-right .section-divider-text h2::after,
    .section-divider.image-left .section-divider-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-divider-text p {
        font-size: 1rem;
        text-align: center;
        margin: 1.5rem auto 0;
    }
    
    .section-divider-image svg {
        max-height: 200px;
    }
}

@media (min-width: 768px) {
    .section-divider {
        background-attachment: fixed;
    }
}

@media (max-width: 1024px) {
    .section-divider {
        height: 100vh; /* Full viewport height */
        margin: 0;
    }
    
    .section-divider-overlay h2 {
        font-size: 3.5rem;
    }
    
    .section-divider-overlay p {
        font-size: 1.5rem;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        font-size: 2.5rem !important;
    }

    section.services,
    section.team-section {
        height: initial;
        padding: 4rem 0;
    }
    .section-divider {
        height: initial; /* Full viewport height */
        margin: 0;
    }
    
    .section-divider-overlay h2 {
        font-size: 2.8rem;
    }
    
    .section-divider-overlay p {
        font-size: 1.3rem;
        max-width: 700px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .section-divider-overlay h2 {
        font-size: 2.2rem;
    }
    
    .section-divider-overlay p {
        font-size: 1.2rem;
        max-width: 100%;
    }
}

/* Services Section */
.services .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.2;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0.3;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    background: var(--light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.service-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 74px;
    height: 74px;
    background: var(--gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    color: var(--primary);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features li {
    color: #666;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.service-card .button,
.contact-page .contact-info .emergency-support a,
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.8rem 0;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.bottom-cta .button {
    display: inline-block;
    box-shadow: var(--shadow-lg);
}
.service-card .button:hover,
.contact-page .contact-info .emergency-support a:hover,
.wpcf7-submit:hover,
.why-choose-cta .button:hover,
.bottom-cta .button:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.why-choose-cta .button:hover,
.bottom-cta .button:hover {
    color: var(--light);
}

.service-card .button i,
.wpcf7-submit i {
    transition: transform 0.3s ease;
}

.service-card .button:hover i,
.wpcf7-submit:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .services {
        height: auto;
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Section Decorations */
.section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.section-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(-1);
}

.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 77, 0, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.services .container {
    position: relative;
    z-index: 2;
}

/* Update existing services styles */
.services {
    padding: 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 2;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.2;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-wave {
        transform: scaleY(-1) scale(1.5);
    }
    
    .section-pattern {
        background-size: 30px 30px;
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 77, 0, 0.1);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Button */
.search-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--dark);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    opacity: 1;
    color: var(--primary);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-content {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 2rem;
}

.search-form {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 77, 0, 0.1);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.search-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--secondary);
    transform: translateX(5px);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--dark);
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-toggle:hover {
    opacity: 1;
    color: var(--primary);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    display: none;
    min-width: 150px;
    z-index: 1002;
}

.language-switcher:hover .language-dropdown {
    display: block;
}

.language-option {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.language-option:hover {
    background: rgba(255, 77, 0, 0.05);
    color: var(--primary);
}

/* Contact Button */
.header-contact {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.header-contact:hover {
    background: var(--secondary);
    color: white;
    text-decoration: none;
    transform: none;
}

.header-contact:hover::after {
    display: none;
}

/* Mobile Menu Enhancements */
@media (max-width: 768px) {
    .header-actions {
        gap: 0.5rem;
    }

    .language-dropdown {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        border-radius: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        display: none;
    }

    .language-switcher.active .language-dropdown {
        display: block;
    }

    .header-contact {
        display: none;
    }

    .search-modal-content {
        padding: 1rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-submit {
        width: 100%;
    }
}

/* Update icon height for service cards and feature cards */
.service-icon .svg-inline--fa,
.feature-icon .svg-inline--fa {
    height: 2em;  /* Set height to 2em for icons at the top of cards */
}

.feature-icon .svg-inline--fa {
    height: 4em;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--light);
    clip: auto !important;
    clip-path: none;
    color: var(--dark);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus styles */
*:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Form elements */
input,
button,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/* ARIA states for buttons */
[aria-expanded="true"] .menu-icon {
    transform: rotate(180deg);
}

/* Improve text readability */
p, li {
    line-height: 1.6;
    max-width: 70ch;
}

/* Make focus states visible */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.2);
}

/* Ensure dropdown menus are keyboard accessible */
.nav-menu li:focus-within > .sub-menu {
    display: block;
    opacity: 1;
}

/* Improve button focus states */
.button:focus,
.nav-menu a:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Add new idle pulse animation */
@keyframes idlePulse {
    0%, 15%, 100% {
        transform: scale(1) rotate(0deg);
    }
    7.5% {
        transform: scale(1.15) rotate(0deg);
    }
}

/* Plus sign container and symbol styles */
.plus-sign-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.plus-symbol {
    font-size: 68px;
    color: var(--light);
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    font-family: Arial, sans-serif;
    animation: jumpAndSpin 5s ease-in-out infinite;
}

@keyframes jumpAndSpin {
    0%, 85%, 100% {
        transform: translate(-50%, -50%) rotate(720deg) scale(1);  /* Keep final rotation at end */
    }
    87% {
        transform: translate(-50%, -100%) rotate(360deg) scale(1);
    }
    89% {
        transform: translate(-50%, -120%) rotate(720deg) scale(1);
    }
    91% {
        transform: translate(-50%, -50%) rotate(720deg) scale(0.7);  /* Squish on impact */
    }
    93% {
        transform: translate(-50%, -70%) rotate(720deg) scale(1.1);  /* First bounce */
    }
    95% {
        transform: translate(-50%, -50%) rotate(720deg) scale(0.9);  /* Small squish after bounce */
    }
    97% {
        transform: translate(-50%, -50%) rotate(720deg) scale(0.95);  /* Keep rotation */
    }
    99% {
        transform: translate(-50%, -50%) rotate(720deg) scale(0.98);  /* Keep rotation */
    }
}

/* Update header wave styles */
.header-wave {
    position: absolute;
    bottom: -2px;
    left: -25%;
    width: 150%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.site-header.scroll-up .header-wave {
    opacity: 1;
    transform: translateY(0);
}

/* Remove default animations */
.header-wave path {
    opacity: 0.5;
    transform-origin: center;
}

/* Update footer list styles */
.footer-menu,
.footer-menu ul,
.footer-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-hours ul li {
    margin: 0 0 0.75rem 0;
    padding-left: 15px;
    position: relative;
    list-style-type: none; /* Remove default marker */
}

/* Add custom bullet points */
.footer-menu li::before,
.footer-hours ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
}

/* Keep the hover effect for footer menu items */
.footer-menu a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

.service-process {
    padding: 6rem 0;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
    text-align: center;  /* Center all content */
}

.service-process h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--dark);
}

.service-process h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.service-process .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.6;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    background: var(--light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.process-step.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-content h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gray-dark);
        z-index: 0;
    }
}

@media (max-width: 768px) {
    .service-process h2 {
        font-size: 2.2rem;
    }
    
    .service-process .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .process-step {
        margin-bottom: 2rem;
    }
}

.services-list {
    margin-bottom: 8rem;  /* Increase spacing between sections */
}

body.page-template-page-services .service-process h2 {
    font-size: 4.5rem;
}

/* Specific header styles for services page */
body.page-template-page-services .site-header .nav-menu li:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.2);
}

body.page-template-page-services .site-header .header-contact:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Show the wave decoration like in scroll-up state */
body.page-template-page-services .site-header .header-wave {
    opacity: 1;
    transform: translateY(0);
}

/* Service Process Responsive Adjustments */

@media (max-width: 768px) {
    .service-process h2 {
        font-size: 2.2rem;
    }
    
    .service-process .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .process-step {
        margin-bottom: 2rem;
    }
}

/* Pricing Section */
.pricing-section {
    position: relative;
    padding: 6rem 0;
    background: var(--light);
    text-align: center;  /* Center align like other sections */
}

.pricing-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--dark);
}

.pricing-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.pricing-section .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 2rem auto 3rem;
    line-height: 1.6;
}

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

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}

.price {
    margin: 1rem 0;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.price .period {
    color: #666;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-card .features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    color: #444;
}

.pricing-card .features li:before {
    content: "✓";
    color: var(--primary);
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
    position: relative;
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;  /* Center align like other sections */
}

.faq-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--dark);
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.faq-section .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 2rem auto 3rem;
    line-height: 1.6;
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark);
    outline: none;
}

.faq-question:focus {
    outline: none;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

.faq-question .icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    fill: currentColor;
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-question:hover {
    color: var(--primary);
}

.section-divider-security-maintenance h2 {
    font-size: 5.5rem;
}

.section-divider-seamless-migration h2 {
    font-size: 7.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.page-template-page-services .service-process h2 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .section-divider-security-maintenance h2 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .section-divider-seamless-migration h2 {
        font-size: 4.5rem;
        line-height: 1.2;
    }

    .pricing-section h2,
    .faq-section h2 {
        font-size: 2.2rem;
    }
    
    .pricing-section .section-subtitle,
    .faq-section .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

/* About Page Specific Styles */
.about-page .page-header {
    position: relative;
    padding: 8rem 0 0 0;
    background: var(--gray-light);
    color: var(--light);
    text-align: center;
    overflow: hidden;
    height: 80vh;
}

.about-page .page-header .scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-page .page-header .container {
    padding: 4rem 2rem 0 2rem;
}

.about-page .page-header h1 {
    display: inline-block;
    font-weight: 700;
    padding: 11rem 0 0 0;
    line-height: 0.5;
}

.about-page .page-header h1 span.about-span {
    position: absolute;
    left: 5rem;
    top: 12.8rem;
    font-size: 2.8rem;
    opacity: .8;    
}

.about-page .page-header .section-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-content-section {
    position: relative;
    padding: 0 0 5rem 0;
    background: var(--gray-light);
    height: 100vh;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark);
    opacity: 0.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--light);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--dark);
    opacity: 0.8;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mission-section {
    padding: 100px 0;
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

.about-page .mission-section .section-header h2 {
    font-size: 6.5rem;
}

.values-section {
    padding: 0 0 6rem 0;
    position: relative;
    background: var(--gray-light);
    overflow: hidden;
}

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

.value-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.value-card:hover .value-icon {
    background: var(--secondary);
    transform: scale(1.3) rotate(360deg);
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.value-card:hover .value-icon {
    color: var(--light);
}

.value-card h3 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    color: var(--dark);
}

.value-card p {
    margin: 0;
    color: var(--dark);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .about-page .mission-section .section-header h2 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .values-section {
        padding: 4rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .value-card h3 {
        font-size: 1.25rem;
    }
}

.team-section {
    padding: 100px 0;
    background: var(--gray);
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
}

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

.team-member {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.member-image {
    position: relative;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.team-member .member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-content {
    padding: 30px;
    text-align: center;
}

.member-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.member-content .position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-content .bio {
    color: var(--dark);
    opacity: 0.8;
}

/* About Page CTA Section */
.about-page .cta {
    padding: 5rem 0;
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: auto; /* Ensure CTA section maintains its original height */
}

.about-page .cta .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-page .cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.about-page .cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light);
    margin-left: auto;
    margin-right: auto;
}

.about-page .cta .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.about-page .cta .button:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateX(5px);
}

.about-page .cta .button i {
    font-size: 1.1rem;
}

/* About Page Responsive Adjustments */
@media (max-width: 768px) {
    .about-page .cta {
        padding: 4rem 1rem;
    }
    
    .about-page .cta h2 {
        font-size: 2rem;
    }
    
    .about-page .cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-page .page-header h1 span.about-span {
        font-size: 2.2rem;
        left: 4.5rem;
        top: 13.2rem;
    }

    .about-page .page-header {
        padding: 80px 0 60px;
    }

    .about-stats,
    .about-features {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Section Headers */
.about-page .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-page .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-page .section-header .section-subtitle {
    font-size: 1.25rem;
    color: var(--dark);
    opacity: 0.8;
    margin: 0 auto;
    max-width: 600px;
}

/* Mission Section */
.mission-section .section-header {
    text-align: center;
    max-width: initial;
    margin: 0;
}

.mission-section .section-header .section-subtitle {
    font-size: 1.5rem;
    color: var(--dark);
    opacity: 0.8;
    margin: 0 auto;
    max-width: initial;
    line-height: 1.6;
}

/* Word animation styles for mission section */
.mission-section .section-header .section-subtitle .word {
    display: inline-block;
    opacity: 0;
    /* transform: translateX(-15px); */
    transition: opacity 1s ease, transform 1s ease;
}

.mission-section .section-header .section-subtitle .word.visible {
    opacity: 1;
    /* transform: translateX(0); */
}

/* Values Section */
.values-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.values-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.values-section .section-header .section-subtitle {
    font-size: 1.5rem;
    color: var(--dark);
    opacity: 0.8;
    margin: 0 auto;
    max-width: 600px;
}

/* Team Section */
.team-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.team-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.team-section .section-header .section-subtitle {
    font-size: 1.25rem;
    color: var(--dark);
    opacity: 0.8;
    margin: 0 auto;
    max-width: 600px;
}

.team-member .member-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Creates a square aspect ratio */
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.team-member .member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the circle while maintaining aspect ratio */
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Specific header styles for services and about pages */
body.page-template-page-services .site-header,
body.page-template-page-about .site-header {
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.page-template-page-services .site-header .nav-menu li:not(:last-child)::after,
body.page-template-page-about .site-header .nav-menu li:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.2);
}

body.page-template-page-services .site-header .header-contact:hover,
body.page-template-page-about .site-header .header-contact:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Show the wave decoration like in scroll-up state */
body.page-template-page-services .site-header .header-wave,
body.page-template-page-about .site-header .header-wave {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header Styles */
.page-header {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    z-index: 2;
}

.page-header .services-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.page-header .section-wave {
    opacity: 0.8;
}

/* Tidio Chat Widget Styles */
#tidio-chat-iframe {
    z-index: 999999 !important;
}

#tidio-chat-iframe + div {
    background: var(--primary) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#tidio-chat-iframe + div:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25) !important;
}

.tidio-chat-iframe {
    border-radius: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.tidio-chat-iframe .tidio-chat-header {
    background: var(--primary) !important;
    border-radius: 1rem 1rem 0 0 !important;
}

.tidio-chat-iframe .tidio-chat-message {
    border-radius: 1rem !important;
    font-family: inherit !important;
}

.tidio-chat-iframe .tidio-chat-message.tidio-chat-message-operator {
    background: var(--primary) !important;
    color: var(--light) !important;
}

.tidio-chat-iframe .tidio-chat-message.tidio-chat-message-visitor {
    background: var(--gray-light) !important;
    color: var(--dark) !important;
}

.tidio-chat-iframe .tidio-chat-input {
    border-top: 1px solid var(--gray-dark) !important;
}

.tidio-chat-iframe .tidio-chat-input textarea {
    border: 1px solid var(--gray-dark) !important;
    border-radius: 0.5rem !important;
    font-family: inherit !important;
}

.tidio-chat-iframe .tidio-chat-input textarea:focus {
    border-color: var(--primary) !important;
    outline: none !important;
}

.tidio-chat-iframe .tidio-chat-send-button {
    background: var(--primary) !important;
    border-radius: 0.5rem !important;
    transition: background-color 0.3s ease !important;
}

.tidio-chat-iframe .tidio-chat-send-button:hover {
    background: var(--secondary) !important;
}

/* Specific header styles for services, about, and contact pages */
body.page-template-page-services .site-header,
body.page-template-page-about .site-header,
body.page-template-page-contact .site-header {
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.page-template-page-services .site-header .nav-menu li:not(:last-child)::after,
body.page-template-page-about .site-header .nav-menu li:not(:last-child)::after,
body.page-template-page-contact .site-header .nav-menu li:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.2);
}

body.page-template-page-services .site-header .header-contact:hover,
body.page-template-page-about .site-header .header-contact:hover,
body.page-template-page-contact .site-header .header-contact:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Show the wave decoration like in scroll-up state */
body.page-template-page-services .site-header .header-wave,
body.page-template-page-about .site-header .header-wave,
body.page-template-page-contact .site-header .header-wave {
    opacity: 1;
    transform: translateY(0);
}

body.page-template-page-about .brand-logo::before {
    content: url('assets/images/favicon/superfast-bolt.svg');
    left: 0.15em;
    top: 0.065em;
}

body.page-template-page-about .mission-section .section-header h2::after {
    bottom: 23px;
    width: 100%;
    height: 2px;
    opacity: 0.2;
}

/* Team Image Section */
.team-image-section {
    width: 100%;
    margin: 4rem 0;
    overflow: hidden;
}

.team-image-section picture {
    display: block;
    width: 100%;
}

.team-image-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .team-image-section {
        margin: 2rem 0;
    }
}

.brand-logo {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 800;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.1;
}

.brand-logo::before {
    content: '';
    font-size: 1.2em;
    display: inline-block;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 50%,
        var(--primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform-origin: center;
    position: relative;
    left: 0.25em;
    top: -0.05em;
}

.page-header .brand-logo .brand-text {
    color: var(--dark);
    position: relative;
    transform: skewX(-10deg);
}

.page-header .brand-logo .brand-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.3s ease;
}

.page-header .brand-logo:hover .brand-text::after {
    clip-path: inset(0 0 0 0);
}

/* Values Section Animations */
.values-section .section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.values-section .section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.values-section .value-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.values-section .value-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Add delay for each card */
.values-section .value-card:nth-child(1) { transition-delay: 0.2s; }
.values-section .value-card:nth-child(2) { transition-delay: 0.4s; }
.values-section .value-card:nth-child(3) { transition-delay: 0.6s; }
.values-section .value-card:nth-child(4) { transition-delay: 0.8s; }

/* Beyond WP Page Styles */
.beyond-wp-page .page-header {
    background-color: var(--dark);
    color: var(--light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.beyond-wp-page .page-header h1 {
    color: var(--light);
    opacity: 0.9;
}

.beyond-wp-page .beyond-wp-intro {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    color: var(--light);
    opacity: 0.9;
}

.beyond-wp-page .services-overview {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
}

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

.beyond-wp-page .tech-stack {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.beyond-wp-page .tech-stack h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.beyond-wp-page .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.beyond-wp-page .tech-category {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.beyond-wp-page .tech-category:hover {
    transform: translateY(-5px);
}

.beyond-wp-page .tech-category h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.beyond-wp-page .tech-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beyond-wp-page .tech-category li {
    padding: 0.5rem 0;
    color: var(--dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.beyond-wp-page .tech-category li:last-child {
    border-bottom: none;
}

.beyond-wp-page .why-choose-us {
    padding: 0 0 5rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.beyond-wp-page .why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.beyond-wp-page .feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.beyond-wp-page .feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.beyond-wp-page .feature-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.beyond-wp-page .feature-card p {
    color: var(--text);
    margin: 0;
}

.beyond-wp-page .cta-section {
    padding: 5rem 0;
    background-color: var(--primary);
    color: var(--light);
    text-align: center;
}

.beyond-wp-page .cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.beyond-wp-page .cta-section p {
    font-size: 1.25rem;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
    text-align: center;
}

@media (max-width: 768px) {
    .beyond-wp-page .page-header {
        padding: 4rem 0 3rem;
    }

    .beyond-wp-page .beyond-wp-intro {
        font-size: 1.1rem;
    }

    .beyond-wp-page .services-grid,
    .beyond-wp-page .tech-grid,
    .beyond-wp-page .features-grid {
        grid-template-columns: 1fr;
    }

    .beyond-wp-page .cta-section h2 {
        font-size: 2rem;
    }
}

/* 404 Page Styles */
.error-404-page .page-header {
    background-color: var(--dark);
    color: var(--light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.error-404-page .page-header h1 {
    font-size: 6rem;
    margin: 0;
    color: var(--primary);
    text-align: center;
}

.error-404-page .error-intro {
    font-size: 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.9);
}

.error-404-page .error-content-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.error-404-page .error-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: var(--dark);
}

.error-404-page .error-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.error-404-page .action-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.error-404-page .action-card:hover {
    transform: translateY(-5px);
}

.error-404-page .action-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.error-404-page .action-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.error-404-page .action-card p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.error-404-page .action-card .button {
    display: inline-block;
    margin-top: 1rem;
}

.error-404-page .action-card form {
    margin-top: 1rem;
}

.error-404-page .action-card .search-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.error-404-page .action-card .search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
}

.error-404-page .action-card .search-submit {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.error-404-page .action-card .search-submit:hover {
    background: var(--secondary);
}

.error-404-page .popular-pages-section {
    padding: 4rem 0;
    text-align: center;
}

.error-404-page .popular-pages-section h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.error-404-page .popular-pages-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

.error-404-page .popular-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.error-404-page .page-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.3s ease;
}

.error-404-page .page-card:hover {
    transform: translateY(-5px);
}

.error-404-page .page-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.error-404-page .page-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.error-404-page .page-card p {
    color: var(--text);
    margin: 0;
}

@media (max-width: 768px) {
    .error-404-page .page-header {
        padding: 4rem 0 3rem;
    }

    .error-404-page .page-header h1 {
        font-size: 4rem;
    }

    .error-404-page .error-intro {
        font-size: 1.25rem;
    }

    .error-404-page .error-actions {
        grid-template-columns: 1fr;
    }

    .error-404-page .popular-pages-grid {
        grid-template-columns: 1fr;
    }
}

/* Search Page Styles */
.search-page .page-header {
    background-color: var(--dark);
    color: var(--light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.search-page .page-header h1 {
    font-size: 3.5rem;
    margin: 0;
    color: var(--primary);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.search-page .page-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.search-page .search-intro {
    font-size: 1.25rem;
    text-align: center;
    max-width: 600px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.search-page .search-results-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.search-page .search-results-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.search-page .search-result-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.search-page .search-result-card:hover {
    transform: translateY(-5px);
}

.search-page .result-thumbnail {
    position: relative;
    overflow: hidden;
}

.search-page .result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-page .search-result-card:hover .result-thumbnail img {
    transform: scale(1.05);
}

.search-page .result-content {
    padding: 2rem;
}

.search-page .result-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.search-page .result-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-page .result-title a:hover {
    color: var(--primary);
}

.search-page .result-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text);
}

.search-page .result-date {
    color: var(--primary);
}

.search-page .result-category a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-page .result-category a:hover {
    color: var(--primary);
}

.search-page .result-excerpt {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.search-page .no-results {
    text-align: center;
    padding: 4rem 0;
}

.search-page .no-results-icon {
    color: var(--primary);
    margin-bottom: 2rem;
}

.search-page .no-results h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--dark);
}

.search-page .no-results p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text);
}

.search-page .search-suggestions {
    max-width: 600px;
    margin: 0 auto;
}

.search-page .search-suggestions h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.search-page .suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.search-page .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-page .tag:hover {
    background: var(--primary);
    color: var(--light);
}

.search-page .search-form-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.search-page .search-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-page .search-form-wrapper h2 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.search-page .search-form-wrapper p {
    margin-bottom: 2rem;
    color: var(--text);
}

.search-page .search-form {
    display: flex;
    gap: 1rem;
}

.search-page .search-field {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 1rem;
}

.search-page .search-submit {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-page .search-submit:hover {
    background: var(--secondary);
}

/* Pagination Styles */
.navigation.pagination {
    margin: 3rem 0;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    color: var(--dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-numbers.current {
    background: var(--primary);
    color: var(--light);
}

.page-numbers:hover:not(.current) {
    background: var(--secondary);
    color: var(--light);
}

@media (max-width: 768px) {
    .search-page .search-result-card {
        grid-template-columns: 1fr;
    }

    .search-page .result-thumbnail {
        height: 200px;
    }

    .search-page .search-form {
        flex-direction: column;
    }

    .search-page .search-submit {
        width: 100%;
    }
}

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

.search-form .search-field-wrapper {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.search-form .search-field {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 1rem;
    background: var(--light);
    color: var(--dark);
    transition: border-color 0.3s ease;
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--primary);
}

.search-form .search-submit {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 120px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form .search-submit:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-form .search-submit {
        width: 100%;
    }
}

/* Search Results Section Wave */
.search-results-section {
    position: relative;
    padding-top: 4rem;
    background-color: var(--gray-light);
}

.search-results-section .section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.search-results-section .section-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search-results-section .container {
    position: relative;
    z-index: 1;
}

/* Search Form Icon Styles */
.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: var(--secondary);
}

.search-submit svg {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-dark);
}

.mobile-menu-branding {
    max-width: 200px;
}

.mobile-menu-branding img {
    max-height: 40px;
    width: auto;
}

.mobile-navigation {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    padding-top: 5rem;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 0;
    padding: 0;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-radius: var(--border-radius);
}

.mobile-nav-menu a:hover {
    color: var(--primary);
    background-color: var(--gray-light);
}

.mobile-nav-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    display: none;
}

.mobile-nav-menu .sub-menu.active {
    display: block;
}

.mobile-nav-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 2.5rem;
}

.mobile-nav-menu .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.mobile-nav-menu .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-menu-footer {
    padding: 1rem;
}

.mobile-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.mobile-contact-button:hover {
    background-color: var(--secondary);
}

/* Menu Toggle Button */
.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
    height: 24px;
    position: relative;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-contact span {
        display: none;
    }
    
    .header-contact {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        max-width: 100%;
    }
}

/* Privacy Policy Page Styles */
body.page-template-page-privacy-policy .container .privacy-policy-content {
    padding-top: 10rem;
}

body.page-template-page-privacy-policy .site-header {
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.page-template-page-privacy-policy .site-header .site-title a,
body.page-template-page-privacy-policy .site-header .nav-menu a {
    color: var(--light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.page-template-page-privacy-policy .site-header .nav-menu li:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.2);
}

body.page-template-page-privacy-policy .site-header .header-contact:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Show the wave decoration like in scroll-up state */
body.page-template-page-privacy-policy .site-header .header-wave {
    opacity: 1;
    transform: translateY(0);
}

.privacy-policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.privacy-policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.privacy-policy-content .last-updated {
    color: var(--dark);
    opacity: 0.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.privacy-policy-content .policy-section {
    margin-bottom: 2.5rem;
    background: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-policy-content .policy-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.privacy-policy-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.privacy-policy-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.privacy-policy-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark);
}

.privacy-policy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
}

.privacy-policy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
}

.privacy-policy-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy-content a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .privacy-policy-content {
        padding: 1.5rem 1rem;
    }

    .privacy-policy-content h1 {
        font-size: 2rem;
    }

    .privacy-policy-content h2 {
        font-size: 1.5rem;
    }

    .privacy-policy-content h3 {
        font-size: 1.2rem;
    }

    .privacy-policy-content .policy-section {
        padding: 1.5rem;
    }
}

.grecaptcha-badge {
    display: none;
}

/* Why Us Page Styles */
.why-us-page .page-header {
    padding-top: 8rem;
    margin-bottom: 4rem;
    position: relative;
}

.why-us-page .page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.why-us-page .page-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.why-us-page .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.why-us-page .benefit-card {
    background: var(--light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-page .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.why-us-page .benefit-icon {
    width: 84px;
    height: 84px;
    background: var(--gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
    font-size: 3rem;
}

.why-us-page .benefit-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.why-us-page .benefit-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.why-us-page .benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-us-page .benefit-features li {
    color: #666;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.why-us-page .benefit-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.why-us-page .cta {
    padding: 5rem 0;
    margin-top: 4rem;
    background: var(--primary);
    color: var(--light);
    text-align: center;
}

.why-us-page .cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.why-us-page .cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-us-page .cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.why-us-page .cta .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.why-us-page .cta .button:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .why-us-page .page-header {
        padding-top: 6rem;
    }
    
    .why-us-page .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-us-page .cta {
        padding: 3rem 1rem;
    }
    
    .why-us-page .cta h2 {
        font-size: 2rem;
    }
}

body.page-template-page-why-us .site-header {
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Media Queries */

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    /* Remove bullet points */
    .footer-menu li::before,
    .footer-hours ul li::before {
        display: none;
    }

    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Form elements */
    input,
    select,
    textarea,
    .wpcf7-not-valid-tip {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    .wpcf7-not-valid-tip {
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 3rem 0;
    }

    /* Why Us Page */
    .why-us-page .page-header {
        padding-top: 6rem;
    }
    
    .why-us-page .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-us-page .cta {
        padding: 3rem 1rem;
    }
    
    .why-us-page .cta h2 {
        font-size: 2rem;
    }

    /* Decorative SVG */
    .decorative-svg {
        padding: 1rem;
        max-width: 100%;
    }
}

/* Tablet-specific optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Optimize grid layouts for tablets */
    .grid {
        gap: 2rem;
    }

    /* Improve card layouts for tablets */
    .card {
        padding: 1.5rem;
    }

    /* Better spacing for tablet sections */
    .section {
        padding: 4rem 2rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    *:focus {
        outline: 4px solid #000;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .service-card,
    .feature-card {
        transform: none !important;
    }
}

/* Lottie Animations */
.lottie-instance-container {
    display: inline-block;
}
.lottie-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
}

.lottie-animation lottie-player {
    max-width: 100%;
    height: auto;
}

.lottie-hero {
    max-width: 500px;
    height: 300px;
}

.lottie-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.lottie-section-divider {
    max-width: 400px;
    height: 300px;
}

.lottie-cta {
    width: 150px;
    height: 150px;
    float: right;
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .lottie-hero {
        max-width: 100%;
        height: 200px;
    }
    
    .lottie-section-divider {
        max-width: 100%;
        height: 200px;
    }
    
    .lottie-cta {
        width: 100px;
        height: 100px;
    }
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    pointer-events: none;
}

.clients-section .container {
    position: relative;
    z-index: 2;
    padding: 0;
    max-width: initial;
}

.clients-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-section .section-header h2#clients-heading {
    font-size: 4.5rem;
}

.clients-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
}

.clients-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    opacity: 0.3;
}

.clients-section .section-description {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0 auto;
    max-width: initial;
}

.clients-slider-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.clients-slider-container::before,
.clients-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 190px;
    z-index: 3;
    pointer-events: none;
}

.clients-slider-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, transparent 100%);
}

.clients-slider-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,0.9) 0%, transparent 100%);
}

.clients-slider {
    display: flex;
    animation: slideClients 30s linear infinite;
    gap: 4rem;
    align-items: center;
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 160px;
    padding: 1rem;
    transition: var(--transition-base);
    filter: grayscale(100%) opacity(0.7);
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-base);
}

.clients-trust-text {
    text-align: center;
    margin-top: 2rem;
}

.clients-trust-text p {
    font-size: 1rem;
    color: var(--dark);
    opacity: 0.7;
    font-style: italic;
    margin: 0;
    max-width: initial;
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly the width of 6 logos + gaps to create seamless loop */
        /* Each logo: 160px width + 2rem padding + 4rem gap = 160px + 6rem */
        transform: translateX(calc(-6 * (160px + 6rem)));
    }
}

/* Pause animation on hover */
.clients-slider-container:hover .clients-slider {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .clients-section {
        padding: 3rem 0;
    }

    .clients-section .section-title {
        font-size: 2rem;
    }

    .clients-section .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .clients-slider {
        gap: 2rem;
        animation-duration: 20s;
    }

    .client-logo {
        height: 60px;
        width: 120px;
        padding: 0.5rem;
    }

    .clients-slider-container::before,
    .clients-slider-container::after {
        width: 50px;
    }

    @keyframes slideClients {
        0% {
            transform: translateX(0);
        }
        100% {
            /* Mobile: 120px width + 1rem padding + 2rem gap = 120px + 3rem */
            transform: translateX(calc(-6 * (120px + 3rem)));
        }
    }
}

@media (max-width: 480px) {
    .clients-section .section-title {
        font-size: 1.8rem;
    }

    .clients-slider {
        gap: 1.5rem;
    }

    .client-logo {
        height: 50px;
        width: 100px;
    }

    @keyframes slideClients {
        0% {
            transform: translateX(0);
        }
        100% {
            /* Small mobile: 100px width + 1rem padding + 1.5rem gap = 100px + 2.5rem */
            transform: translateX(calc(-6 * (100px + 2.5rem)));
        }
    }
}

/* Why Us Content Section - Elegant Glass Morphism Design */
body.page-template-page-why-us main.why-us-page .section-decoration {
    height: 60%;
}

body.page-template-page-why-us .page-header h1 {
    margin-top: 4rem;
}

body.page-template-page-why-us .page-header h2 {
    font-size: 3.3rem; 
    margin-top: 0;
}

body.page-template-page-why-us .page-header h2 span.h2-emphasis {
    line-height: 0.7; 
    color: var(--primary); 
    font-size: 7.9rem;
}

body.page-template-page-why-us .page-header h2 span.h2-emphasis-2 {
    font-size: 6rem; 
    line-height: 0.7;
}

.why-us-content {
    position: relative;
    overflow: hidden;
}

.why-us-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.why-us-content .container {
    position: relative;
    z-index: 2;
}

.why-us-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-us-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.why-us-text h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 77, 0, 0.3);
}

.why-us-text .lead-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 4rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.why-us-highlights {
    text-align: left;
    margin: 0 auto;
    position: relative;
}

.why-us-highlights::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--primary) 100%);
    border-radius: 2px;
    opacity: 0.3;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-highlights.animate::before {
    transform: scaleY(1);
}

.highlight-item {
    position: relative;
    padding: 2rem 0 2rem 5rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.highlight-item:nth-child(1).animate { transition-delay: 0.2s; }
.highlight-item:nth-child(2).animate { transition-delay: 0.4s; }
.highlight-item:nth-child(3).animate { transition-delay: 0.6s; }
.highlight-item:nth-child(4).animate { transition-delay: 0.8s; }
.highlight-item:nth-child(5).animate { transition-delay: 1.0s; }

.highlight-item::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 6px rgba(255, 77, 0, 0.2);
    z-index: 2;
    transition: transform 0.3s ease;
    transform: scale(0);
}

.highlight-item.animate::before {
    transform: scale(1);
    transition-delay: inherit;
}

.highlight-item:hover h3, .highlight-item:hover p {
    transform: translateX(10px);
}

.highlight-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 8px rgba(255, 77, 0, 0.3);
}

.highlight-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-item.animate h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--item-delay, 0s) + 0.3s);
}

.highlight-item h3::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px;
    opacity: 0;
}

.highlight-item:hover h3::before {
    opacity: 1;
}

.highlight-item p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
    opacity: 0;
    margin: 0 0 1.5rem 0;
    text-align: justify;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-item.animate p {
    opacity: 0.85;
    transform: translateY(0);
    transition-delay: calc(var(--item-delay, 0s) + 0.5s);
}

.highlight-item h3, .highlight-item p {
    transition: transform 0.3s ease;
}

/* Set CSS custom properties for delays */
.highlight-item:nth-child(1) { --item-delay: 0.2s; }
.highlight-item:nth-child(2) { --item-delay: 0.4s; }
.highlight-item:nth-child(3) { --item-delay: 0.6s; }
.highlight-item:nth-child(4) { --item-delay: 0.8s; }
.highlight-item:nth-child(5) { --item-delay: 1.0s; }

.bottom-cta {
    margin-top: 5rem;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-cta.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

.bottom-cta .cta-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item strong {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 77, 0, 0.1) 50%, transparent 100%);
    padding: 0 0.2rem;
    border-radius: 3px;
}

body.page-template-page-why-us .cta-text-emphasis {
    font-size: 3.3rem;
    line-height: 1;
}

body.page-template-page-why-us .cta-text-bolt {
    vertical-align: middle;
}

body.page-template-page-why-us .cta-text-bolt img {
    width: 1rem;
    height: 1rem;
}

body.page-template-page-why-us .benefits-title {
    font-size: 4.5rem;
    margin-top: 4rem;
    text-align: center;
}

body.page-template-page-why-us .cta h2 span {
    vertical-align: middle;
}

body.page-template-page-why-us .cta h2 span img {
    width: 2.5rem;
    height: 2.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-us-text h2 {
        font-size: 2.8rem;
    }
    
    .why-us-text .lead-text {
        font-size: 1.4rem;
    }
    
    .highlight-item {
        padding: 1.5rem 0 1.5rem 4rem;
    }
    
    .highlight-item h3 {
        font-size: 1.6rem;
    }
    
    .highlight-item p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    body.page-template-page-why-us .page-header h1 {
        font-size: 2rem;
    }

    body.page-template-page-why-us .page-header h2 {
        font-size: 2.5rem;
        line-height: 1;
    }

    body.page-template-page-why-us .page-header h2 span.h2-emphasis {
        font-size: 4rem;
        line-height: 1;
    }

    body.page-template-page-why-us .page-header h2 span.h2-emphasis-2 {
        font-size: 4rem;
        line-height: 1;
    }

    body.page-template-page-why-us .cta-text-emphasis {
        font-size: 2.3rem;
    }

    body.page-template-page-why-us .why-us-content .why-us-text .bottom-cta a.button {
        width: 70%;
    }

    body.page-template-page-why-us .benefits-title {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    body.page-template-page-why-us .cta span {
        vertical-align: middle;
    }

    body.page-template-page-why-us .cta span img {
        height: 2rem;
        width: 2rem;
    }
    
    .why-us-content {
        padding: 4rem 0;
    }
    
    .why-us-text h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
    
    .why-us-text .lead-text {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }
    
    .why-us-highlights::before {
        left: 1rem;
    }
    
    .highlight-item {
        padding: 1.5rem 0 1.5rem 3rem;
        margin-bottom: 2.5rem;
    }
    
    .highlight-item::before {
        left: 0.25rem;
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .highlight-item h3 {
        font-size: 1.4rem;
    }
    
    .highlight-item p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .bottom-cta {
        margin-top: 4rem;
        padding: 3rem 2rem;
        border-radius: 16px;
    }
    
    .bottom-cta .cta-text {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
    
    .bottom-cta .button {
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .why-us-text h2 {
        font-size: 2rem;
    }
    
    .why-us-text .lead-text {
        font-size: 1.2rem;
    }
    
    .highlight-item {
        padding: 1.2rem 0 1.2rem 2.5rem;
    }
    
    .highlight-item h3 {
        font-size: 1.3rem;
    }
    
    .highlight-item p {
        font-size: 1rem;
    }
    
    .bottom-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .bottom-cta .cta-text {
        font-size: 1.1rem;
    }
    
    .bottom-cta .button {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
}

/* Why Choose CTA Button Container */
.why-choose-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.why-choose-cta .button {
    display: inline-block;
}

@media (max-width: 768px) {
    .why-choose-cta {
        margin-top: 2rem;
    }
}
/* Hero Button Styles */

/* Refund Policy Page Styles */
body.page-template-page-refund-policy .container .refund-policy-content {
    padding-top: 10rem;
}

body.page-template-page-refund-policy .site-header {
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.page-template-page-refund-policy .site-header .site-title a,
body.page-template-page-refund-policy .site-header .nav-menu a {
    color: var(--light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.page-template-page-refund-policy .site-header .nav-menu li:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.2);
}

body.page-template-page-refund-policy .site-header .header-contact:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Show the wave decoration like in scroll-up state */
body.page-template-page-refund-policy .site-header .header-wave {
    opacity: 1;
    transform: translateY(0);
}

.refund-policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.refund-policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.refund-policy-content .last-updated {
    color: var(--dark);
    opacity: 0.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.refund-policy-content .policy-section {
    margin-bottom: 2.5rem;
    background: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.refund-policy-content .policy-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.refund-policy-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.refund-policy-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.refund-policy-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark);
}

.refund-policy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
}

.refund-policy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.refund-policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
}

.refund-policy-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.refund-policy-content a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .privacy-policy-content,
    .refund-policy-content {
        padding: 1.5rem 1rem;
    }

    .privacy-policy-content h1,
    .refund-policy-content h1 {
        font-size: 2rem;
    }

    .privacy-policy-content h2,
    .refund-policy-content h2 {
        font-size: 1.5rem;
    }

    .privacy-policy-content h3,
    .refund-policy-content h3 {
        font-size: 1.2rem;
    }

    .privacy-policy-content .policy-section,
    .refund-policy-content .policy-section {
        padding: 1.5rem;
    }
}

/* Emergency Support Page Styles */
.emergency-page .page-header {
    padding-top: 8rem;
    margin-bottom: 4rem;
    position: relative;
}

.emergency-page .page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.emergency-page .emergency-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Emergency Content Section - Similar to Why Us but with emergency styling */
.emergency-content {
    position: relative;
    overflow: hidden;
}

.emergency-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.emergency-content .container {
    position: relative;
    z-index: 2;
}

.emergency-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.emergency-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.emergency-text h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444, #dc2626);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.emergency-text .lead-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 4rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.emergency-highlights {
    text-align: left;
    margin: 0 auto;
    position: relative;
}

.emergency-highlights::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        #dc2626 0%, 
        #ef4444 50%, 
        #dc2626 100%);
    border-radius: 2px;
    opacity: 0.3;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.emergency-highlights.animate::before {
    transform: scaleY(1);
}

.emergency-highlights .highlight-item {
    position: relative;
    padding: 2rem 0 2rem 5rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.emergency-highlights .highlight-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.emergency-highlights .highlight-item:nth-child(1).animate { transition-delay: 0.2s; }
.emergency-highlights .highlight-item:nth-child(2).animate { transition-delay: 0.4s; }
.emergency-highlights .highlight-item:nth-child(3).animate { transition-delay: 0.6s; }
.emergency-highlights .highlight-item:nth-child(4).animate { transition-delay: 0.8s; }
.emergency-highlights .highlight-item:nth-child(5).animate { transition-delay: 1.0s; }

.emergency-highlights .highlight-item::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 6px rgba(220, 38, 38, 0.2);
    z-index: 2;
    transition: transform 0.3s ease;
    transform: scale(0);
}

.emergency-highlights .highlight-item.animate::before {
    transform: scale(1);
    transition-delay: inherit;
}

.emergency-highlights .highlight-item:hover h3, 
.emergency-highlights .highlight-item:hover p {
    transform: translateX(10px);
}

.emergency-highlights .highlight-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 8px rgba(220, 38, 38, 0.3);
}

.emergency-highlights .highlight-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.emergency-highlights .highlight-item.animate h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--item-delay, 0s) + 0.3s);
}

.emergency-highlights .highlight-item p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
    opacity: 0;
    margin: 0 0 1.5rem 0;
    text-align: justify;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.emergency-highlights .highlight-item.animate p {
    opacity: 0.85;
    transform: translateY(0);
    transition-delay: calc(var(--item-delay, 0s) + 0.5s);
}

.emergency-highlights .highlight-item h3, 
.emergency-highlights .highlight-item p {
    transition: transform 0.3s ease;
}

/* Set CSS custom properties for delays */
.emergency-highlights .highlight-item:nth-child(1) { --item-delay: 0.2s; }
.emergency-highlights .highlight-item:nth-child(2) { --item-delay: 0.4s; }
.emergency-highlights .highlight-item:nth-child(3) { --item-delay: 0.6s; }
.emergency-highlights .highlight-item:nth-child(4) { --item-delay: 0.8s; }
.emergency-highlights .highlight-item:nth-child(5) { --item-delay: 1.0s; }

/* Emergency Services Grid */
.emergency-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.emergency-card {
    background: var(--light);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #dc262696;
    position: relative;
}

.emergency-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.emergency-card:hover .emergency-icon {
    transform: scale(1.1) rotate(5deg);
}

.emergency-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.emergency-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.emergency-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.emergency-features li {
    color: #666;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
}

.emergency-features li::before {
    content: '⚡';
    color: #dc2626;
    font-weight: bold;
    margin-right: 0.5rem;
}

.response-time {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    margin-top: auto;
}

/* Emergency Process Timeline */
.emergency-process {
    margin: 5rem 0 0 0;
    padding: 4rem 4rem 10rem 4rem;
    background: var(--gray-light);
    border-radius: 16px;
}

.emergency-process h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 8rem;
    margin-top: 3rem;
    line-height: 1.2;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.process-step {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.step-content h3 {
    color: var(--dark);
    margin: 1rem 0;
    font-size: 1.3rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-time {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Emergency CTA specific styles */
.emergency-cta .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Header styles for emergency page */
body.page-template-page-emergency-support .site-header {
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.page-template-page-emergency-support .site-header .site-title a,
body.page-template-page-emergency-support .site-header .nav-menu a {
    color: var(--light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.page-template-page-emergency-support .site-header .nav-menu li:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.2);
}

body.page-template-page-emergency-support .site-header .header-contact:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Show the wave decoration like in scroll-up state */
body.page-template-page-emergency-support .site-header .header-wave {
    opacity: 1;
    transform: translateY(0);
}

body.page-template-page-emergency-support .cta-text-emphasis {
    font-size: 3.3rem;
    line-height: 1;
    color: #dc2626;
}

body.page-template-page-emergency-support .button-emergency {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    background-color: #dc2626;
}

body.page-template-page-emergency-support .emergency-services-we-handle-title {
    font-size: 4.5rem;
    margin-top: 4rem;
    text-align: center;
    color: #dc2626;
}

body.page-template-page-emergency-support .emergency-cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

/* Responsive Design for Emergency Page */
@media (max-width: 1024px) {
    .emergency-text h2 {
        font-size: 2.8rem;
    }
    
    .emergency-text .lead-text {
        font-size: 1.4rem;
    }
    
    .emergency-highlights .highlight-item {
        padding: 1.5rem 0 1.5rem 4rem;
    }
    
    .emergency-highlights .highlight-item h3 {
        font-size: 1.6rem;
    }
    
    .emergency-highlights .highlight-item p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    body.page-template-page-emergency-support .section-decoration {
        width: initial !important;
    }

    body.page-template-page-emergency-support .cta-text-emphasis {
        display: inline-block;
        margin-bottom: 1rem;
        line-height: 1.2;
        font-size: 1.8rem;
    }

    body.page-template-page-emergency-support .bottom-cta {
        margin-top: 0;
    }

    body.page-template-page-emergency-support .button-emergency {
        width: 65%;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    body.page-template-page-emergency-support .emergency-services-we-handle-title {
        font-size: 3.2rem;
        line-height: 1.2;
    }

    .emergency-process h2 {
        font-size: 3rem;
    }

    body.page-template-page-emergency-support .emergency-cta-title {
        line-height: 1.5;
    }

    body.page-template-page-emergency-support .emergency-cta .button {
        width: 70%;
        display: block;
        margin: 0 auto;
    }
    
    .emergency-page .page-header {
        padding-top: 6rem;
    }
    
    .emergency-content {
        padding: 4rem 0;
    }
    
    .emergency-text h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
    
    .emergency-text .lead-text {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }
    
    .emergency-highlights::before {
        left: 1rem;
    }
    
    .emergency-highlights .highlight-item {
        padding: 1.5rem 0 1.5rem 3rem;
        margin-bottom: 2.5rem;
    }
    
    .emergency-highlights .highlight-item::before {
        left: 0.25rem;
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .emergency-highlights .highlight-item h3 {
        font-size: 1.4rem;
    }
    
    .emergency-highlights .highlight-item p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .emergency-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emergency-card {
        padding: 2rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .emergency-cta div[style*="display: flex"] {
        flex-direction: column;
        gap: 1rem;
    }
    
    .emergency-cta .button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .emergency-text h2 {
        font-size: 2rem;
    }
    
    .emergency-text .lead-text {
        font-size: 1.2rem;
    }
    
    .emergency-highlights .highlight-item {
        padding: 1.2rem 0 1.2rem 2.5rem;
    }
    
    .emergency-highlights .highlight-item h3 {
        font-size: 1.3rem;
    }
    
    .emergency-highlights .highlight-item p {
        font-size: 1rem;
    }
    
    .emergency-card {
        padding: 1.5rem;
    }
    
    .emergency-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* ==========================================
   PRICING PAGE STYLES
   ========================================== */

.pricing-page {
    background: var(--light);
}

.page-header.pricing-page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--light);
}

.page-header.pricing-page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--light);
}

.pricing-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.pricing-intro strong {
    font-weight: 600;
    color: var(--light);
}

/* Comfort Section */
.comfort-section {
    padding: 6rem 0;
    background: var(--gray);
}

.comfort-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.comfort-item {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.comfort-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.comfort-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--light);
    font-size: 2rem;
}

.comfort-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.comfort-item p {
    color: #666;
    line-height: 1.6;
}

/* Development and Fix Pricing Tables */
.development-pricing,
.fix-pricing {
    padding: 6rem 0;
    background: var(--light);
}

.development-pricing h2,
.fix-pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto 4rem auto;
    color: var(--dark);
    opacity: 0.8;
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.pricing-table {
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.pricing-table:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-table.emergency {
    border: 2px solid var(--primary);
    position: relative;
}

.pricing-table.emergency::before {
    content: "URGENT";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--light);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
}

.pricing-table h3 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 1.5rem 2rem;
    margin: 0;
    font-size: 1.8rem;
    text-align: center;
}

.pricing-table.emergency h3 {
    background: linear-gradient(135deg, var(--primary), #cc3d00);
}

.table-description {
    padding: 1rem 2rem;
    background: var(--gray);
    margin: 0;
    text-align: center;
    font-style: italic;
    color: #666;
}

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

.pricing-table-content {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table-content th {
    background: var(--gray-dark);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid var(--light);
}

.pricing-table-content td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--gray-dark);
    vertical-align: top;
}

.pricing-table-content tr:hover {
    background: var(--gray-light);
}

.complexity-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.complexity-badge.easy {
    background: #d4edda;
    color: #155724;
}

.complexity-badge.medium {
    background: #fff3cd;
    color: #856404;
}

.complexity-badge.hard {
    background: #f8d7da;
    color: #721c24;
}

.price-cell {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Hosting Solutions Section */
.hosting-solutions {
    padding: 6rem 0;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.hosting-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hosting-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hosting-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.hosting-subtitle {
    font-size: 1.3rem;
    color: var(--primary);
    font-style: italic;
    font-weight: 500;
}

.hosting-intro {
    text-align: center;
    margin: 3rem auto 4rem;
    max-width: 800px;
}

.hosting-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.hosting-intro strong {
    color: var(--primary);
    font-weight: 600;
}

.hosting-intro em {
    color: var(--secondary);
    font-style: italic;
}

.hosting-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.hosting-benefit {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hosting-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hosting-benefit:hover::before {
    transform: scaleX(1);
}

.hosting-benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--light);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.hosting-benefit:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.hosting-benefit h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.hosting-benefit p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.hosting-tiers {
    margin: 5rem 0 4rem;
}

.hosting-tiers h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--dark);
    font-weight: 600;
}

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

.tier-card {
    background: var(--light);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.tier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.tier-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tier-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--light);
    font-size: 1.8rem;
}

.tier-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.tier-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tier-price {
    font-size: 1rem;
    color: #777;
    font-weight: 500;
}

.tier-price span {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

.hosting-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    color: var(--light);
    box-shadow: 0 15px 40px rgba(255, 77, 0, 0.2);
}

.hosting-cta .cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hosting-cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hosting-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hosting-button:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--primary);
}

/* Peace of Mind Section */
.peace-of-mind {
    padding: 6rem 0;
    background: var(--gray);
}

.peace-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.peace-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.peace-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.peace-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.peace-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.peace-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.pricing-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

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

.cta-buttons .button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    font-weight: 600;
}

.cta-buttons .button.primary {
    background: var(--light);
    color: var(--primary);
}

.cta-buttons .button.primary:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
}

.cta-buttons .button.secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.cta-buttons .button.secondary:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-page-header h1 {
        font-size: 2.5rem;
    }
    
    .pricing-intro {
        font-size: 1.1rem;
    }
    
    .comfort-grid,
    .peace-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-tables {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-table-content th,
    .pricing-table-content td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .button {
        width: 100%;
        max-width: 300px;
    }
    
    .hosting-benefits {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .tier-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .tier-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .hosting-cta {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .pricing-page-header {
        padding: 4rem 0 3rem;
    }
    
    .pricing-page-header h1 {
        font-size: 2rem;
    }
    
    .comfort-content h2,
    .peace-content h2,
    .development-pricing h2,
    .fix-pricing h2 {
        font-size: 2rem;
    }
    
    .pricing-tables {
        grid-template-columns: 1fr;
    }
    
    .table-wrapper {
        overflow-x: scroll;
    }
    
    .pricing-table-content {
        min-width: 500px;
    }
    
    .hosting-header h2 {
        font-size: 2.2rem;
    }
    
    .hosting-subtitle {
        font-size: 1.1rem;
    }
    
    .hosting-intro p {
        font-size: 1rem;
    }
    
    .hosting-benefit {
        padding: 2rem 1.5rem;
    }
    
    .hosting-tiers h3 {
        font-size: 1.8rem;
    }
    
    .tier-card {
        padding: 2rem 1.5rem;
    }
    
    .hosting-cta .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .hosting-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

