/**
 * Additional Styles for Page Templates
 * 
 * @package asiarec-theme
 */

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    padding: calc(80px + var(--space-16)) 0 var(--space-12);
    background: var(--gray-50);
}

.page-header--dark {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header--dark .page-header-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?w=1920') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-header--dark .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}

.page-category {
    display: inline-block;
    background: rgba(0, 174, 239, 0.2);
    color: var(--primary-light);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.page-header--dark .page-title,
.page-header--dark .page-subtitle {
    color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: var(--space-4);
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-2);
    opacity: 0.5;
}

.breadcrumb a {
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--primary);
}

.page-header--dark .breadcrumb a {
    color: var(--white);
}

.page-header--dark .breadcrumb a:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    font-size: 0.9rem;
    color: var(--gray-500);
}

.single-category {
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.single-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.single-featured {
    margin-bottom: var(--space-8);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.single-featured img {
    width: 100%;
    height: auto;
}

.single-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.single-content>*:first-child {
    margin-top: 0;
}

.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5,
.single-content h6 {
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
    color: var(--secondary);
    line-height: 1.3;
    position: relative;
}

.single-content h2 {
    font-size: 2rem;
    padding-bottom: var(--space-3);
}

.single-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.single-content h3 {
    font-size: 1.6rem;
}

.single-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
}

.single-content p {
    margin-bottom: var(--space-6);
}

.single-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition-base);
}

.single-content a:hover {
    color: var(--secondary);
}

/* Lists */
.single-content ul,
.single-content ol {
    margin-bottom: var(--space-8);
    padding-left: var(--space-6);
}

.single-content ul li,
.single-content ol li {
    margin-bottom: var(--space-3);
    position: relative;
}

.single-content ul li {
    list-style: none;
}

.single-content ul li::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.single-content ol li {
    list-style: decimal;
    padding-left: var(--space-2);
}

/* Images & Media */
.single-content img {
    border-radius: var(--radius-xl);
    margin: var(--space-10) 0;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
}

.single-content figure {
    margin: var(--space-10) 0;
    text-align: center;
}

.single-content figcaption {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: var(--space-3);
    font-style: italic;
}

/* Blockquote */
.single-content blockquote {
    background: var(--gray-50);
    border-left: 5px solid var(--primary);
    padding: var(--space-8) var(--space-10);
    margin: var(--space-10) 0;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--secondary);
    position: relative;
    box-shadow: inset 5px 0 15px rgba(0, 0, 0, 0.02);
}

.single-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

/* Tables */
.single-content table {
    width: 100%;
    margin-bottom: var(--space-10);
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.single-content th,
.single-content td {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.single-content th {
    background: var(--gray-50);
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.single-content tr:last-child td {
    border-bottom: none;
}

.single-content tr:hover td {
    background: rgba(0, 174, 239, 0.02);
}


.single-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-6) 0;
    border-top: 1px solid var(--gray-200);
    margin-top: var(--space-8);
}

.single-tags span {
    font-weight: 600;
}

.single-tags a {
    background: var(--gray-100);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--gray-600);
}

.single-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

.single-share {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6) 0;
    border-top: 1px solid var(--gray-200);
}

.single-share span {
    font-weight: 600;
}

.single-share a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    transition: var(--transition-base);
}

.single-share a:hover {
    background: var(--primary);
    color: var(--white);
}

.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    padding: var(--space-8) 0;
    border-top: 1px solid var(--gray-200);
    margin-top: var(--space-8);
}

.single-nav-prev,
.single-nav-next {
    display: block;
    padding: var(--space-5);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.single-nav-prev:hover,
.single-nav-next:hover {
    background: var(--gray-100);
}

.single-nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: var(--space-1);
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--secondary);
}

/* ==========================================================================
   Product/Service Detail
   ========================================================================== */
.product-detail-grid,
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.product-detail-image img,
.service-detail-image img {
    width: 100%;
    border-radius: var(--radius-xl);
}

.product-features ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-700);
}

.product-features li svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.product-detail-actions {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-top: var(--space-4);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* ==========================================================================
   Service Sidebar
   ========================================================================== */
.service-detail-grid {
    grid-template-columns: 1fr 350px;
}

.service-detail-main {
    min-width: 0;
}

.service-detail-image {
    margin-bottom: var(--space-8);
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.sidebar-widget {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
}

.sidebar-menu li {
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-menu li:last-child {
    border: none;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    color: var(--gray-700);
}

.sidebar-menu a:hover,
.sidebar-menu li.current a {
    color: var(--primary);
}

.sidebar-menu a svg {
    opacity: 0;
    transition: var(--transition-base);
}

.sidebar-menu a:hover svg,
.sidebar-menu li.current a svg {
    opacity: 1;
}

.sidebar-cta {
    background: var(--gradient-primary);
    color: var(--white);
}

.sidebar-cta h4 {
    color: var(--white);
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-4);
}

.sidebar-cta .btn-primary {
    background: var(--white);
    color: var(--secondary);
}

.sidebar-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-block {
    display: block;
    width: 100%;
}

.sidebar-phone {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-phone a {
    color: var(--white);
    font-weight: 600;
}

/* ==========================================================================
   Error 404
   ========================================================================== */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-icon {
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.error-title {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.error-404 h2 {
    margin-bottom: var(--space-4);
}

.error-404 p {
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

.error-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-3);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-base);
}

.pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .prev,
.pagination .next {
    min-width: auto;
}

/* ==========================================================================
   Mobile Overlay
   ========================================================================== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-modal) - 1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {

    .product-detail-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        order: -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-actions {
        flex-direction: column;
    }

    .product-detail-actions .btn {
        justify-content: center;
    }
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-12);
    align-items: start;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.widget {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.widget:hover {
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: var(--space-6);
    position: relative;
    padding-bottom: var(--space-2);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget ul li a:hover {
    color: var(--primary);
    padding-left: var(--space-2);
}

/* Custom styles for specific widgets */
.widget_search .search-form {
    display: flex;
    gap: var(--space-2);
}

.widget_search input[type="search"] {
    flex: 1;
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.widget_search input[type="submit"] {
    padding: var(--space-2) var(--space-6);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
}

@media (max-width: 992px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Contact Page - Premium Design
   ========================================================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.contact-info-card {
    background: linear-gradient(145deg, var(--white), var(--gray-50));
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 174, 239, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 174, 239, 0.15);
    border-color: var(--primary-light);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.contact-info-card h3::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 174, 239, 0.1);
    flex-shrink: 0;
}

/* Custom icons for each card */
.contact-info-card:nth-child(1) h3::before {
    background: rgba(0, 174, 239, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300AEEF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E") center/20px no-repeat;
}

.contact-info-card:nth-child(2) h3::before {
    background: rgba(0, 174, 239, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300AEEF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") center/20px no-repeat;
}

.contact-info-card:nth-child(3) h3::before {
    background: rgba(0, 174, 239, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300AEEF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E") center/20px no-repeat;
}

.contact-info-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-info-card a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition-base);
}

.contact-info-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form Layout - Full Width Single Column */
.contact-form-layout {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-main {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

/* Contact Form 7 Premium Styling */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.wpcf7-form p {
    margin-bottom: 0;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: var(--space-2);
}

.wpcf7-form label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: var(--space-2);
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-tel::placeholder,
.wpcf7-textarea::placeholder {
    color: var(--gray-400);
}

.wpcf7-text:hover,
.wpcf7-email:hover,
.wpcf7-tel:hover,
.wpcf7-textarea:hover {
    background: var(--white);
    border-color: var(--gray-200);
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1), 0 4px 12px rgba(0, 174, 239, 0.1);
    outline: none;
}

.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    margin-top: var(--space-4);
}

.wpcf7-submit::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;
}

.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 174, 239, 0.4);
}

.wpcf7-submit:hover::before {
    left: 100%;
}

.wpcf7-submit:active {
    transform: translateY(-1px);
}

.wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.wpcf7-not-valid-tip::before {
    content: '⚠';
}

.wpcf7-response-output {
    margin: var(--space-6) 0 0 !important;
    padding: var(--space-4) var(--space-5) !important;
    border-radius: var(--radius-lg) !important;
    border: none !important;
    font-size: 0.95rem;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: linear-gradient(135deg, #e6fffa, #c6f6d5) !important;
    color: #22543d !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: linear-gradient(135deg, #fff5f5, #fed7e2) !important;
    color: #c53030 !important;
}

@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .contact-form-main {
        padding: var(--space-6);
    }
}

@media (max-width: 768px) {
    .contact-info-card {
        padding: var(--space-6);
    }

    .contact-info-card h3 {
        flex-direction: column;
        gap: var(--space-3);
    }

    .wpcf7-submit {
        max-width: 100%;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin: var(--space-8) 0;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: var(--space-6);
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-1);
}

.team-role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* History Timeline */
.history-timeline {
    position: relative;
    padding: var(--space-8) 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.history-item {
    display: flex;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
    position: relative;
}

.history-year {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    width: 120px;
    text-align: right;
    position: relative;
    z-index: 1;
}

.history-content h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
    color: var(--secondary);
}

/* Page Spacing Fixes */
.page-content-full {
    padding-bottom: var(--space-20);
}

@media (max-width: 768px) {
    .history-timeline::before {
        display: none;
    }

    .history-item {
        flex-direction: column;
        gap: var(--space-4);
    }

    .history-year {
        text-align: left;
        width: auto;
        font-size: 1.75rem;
    }
}