/*
Theme Name: walletTheme
Description: A modern payment platform WordPress theme
Version: 1.3.1
Author: vvvvvvvvv
Text Domain: wallettheme
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.fa-arrow-down-to-bracket::before,
.fa-file-invoice-dollar::before,
.fa-cart-shopping::before,
.fa-paper-plane::before,
.fa-ticket::before,
.fa-arrow-up-from-bracket::before,
.fa-key::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

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

/* Header Styles */
.header {
    background: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    padding: 18px 0 18px ;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Add padding to body to compensate for fixed header */
body {
    padding-top: 80px; /* Adjust based on header height */
}

/* Header scroll effects */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 10px 0; /* Smaller padding when scrolled */
}

/* Ensure smooth transitions for header changes */
.header .logo,
.header .nav,
.header .btns {
    transition: all 0.3s ease;
}

/* Contact section scroll target */
.contact-section {
    scroll-margin-top: 100px; /* Account for fixed header */
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

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

.logo a {
    color: #000;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: -1px;
}

/* Logo image size restrictions */
.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav ul li a:hover {
    opacity: 0.8;
}

.btns ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
}

.btns ul li a {
    color: #000;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btns ul li a:hover {
    background-color: rgba(0,0,0,0.1);
}

/* Banner Styles */
.hbanner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: #fff;
}

.hbanner .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hbanner-txt h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hbanner-txt h2 font {
    font-size: 24px;
    font-weight: 400;
    display: block;
    margin-top: 10px;
    opacity: 0.9;
}

.hbanner-txt p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

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

/* Start Section */
.hstart {
    background: #fff;
    padding: 60px 0;
}

.hstart .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.hstart-txt h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hstart-txt p {
    font-size: 18px;
    color: #7f8c8d;
}

.g-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-block;
}

.g-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Navigation Cards */
.hnav {
    background: #f8f9fa;
    padding: 80px 0;
}

.hnav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    list-style: none;
}

.hnav ul li {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.hnav ul li:hover {
    transform: translateY(-5px);
}

.hnav ul li .img {
    margin-bottom: 25px;
}

.hnav ul li .img i {
    font-size: 48px;
    color: #667eea;
}

.hnav ul li .txt h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hnav ul li .txt p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Product Section */
.hpro {
    background: #fff;
    padding: 80px 0;
}

.g-hd {
    text-align: center;
    margin-bottom: 60px;
}

.g-hd h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.g-hd p {
    font-size: 18px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hpro-bd ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap: 30px;
    list-style: none;
}

.hpro-bd ul li {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.hpro-bd ul li:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.hpro-bd ul li .img {
    margin-bottom: 20px;
}

.hpro-bd ul li .img i {
    font-size: 36px;
    color: #667eea;
}

.hpro-bd ul li .txt h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hpro-bd ul li .txt h4 {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
}

/* Payment Methods */
.pay {
    background: #f8f9fa;
    padding: 80px 0;
}

.pay-txt {
    margin-top: 20px !important;
    font-size: 18px;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
}

.pay-bd ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    list-style: none;
    margin-top: 50px;
}

.pay-bd ul li {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.pay-bd ul li:hover {
    transform: translateY(-3px);
}

.pay-bd ul li .img i {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 15px;
}

.pay-bd ul li .txt p {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

/* View Sections */
.hview {
    padding: 80px 0;
}

.hview.even {
    background: #fff;
}

.hview.odd {
    background: #f8f9fa;
}

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

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

.hview-txt h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
}

.hview-txt ul {
    list-style: none;
}

.hview-txt ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.hview-txt ul li i {
    color: #27ae60;
    font-size: 20px;
    margin-top: 2px;
}

.hview-txt ul li span {
    font-size: 16px;
    line-height: 1.6;
    color: #7f8c8d;
}

/* Partners Section */
.hpartner {
    background: #fff;
    padding: 80px 0;
}

.hpart-bd {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.hpart-list {
    display: flex;
    gap: 30px;
    animation: scroll 20s linear infinite;
}

.hpart-list img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hpart-list img:hover {
    opacity: 1;
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

.footer .wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer dl dt {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer dl dd {
    margin-bottom: 10px;
}

.footer dl dd a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer dl dd a:hover {
    color: #3498db;
}

/* Copyright */
.copyright {
    background: #34495e;
    padding: 20px 0;
    text-align: center;
    color: #bdc3c7;
}

.copyright a {
    color: #3498db;
    text-decoration: none;
}

/* Sidebar */
.sidebar {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    display: block;
    background: #667eea;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.sidebar ul li a:hover {
    background: #764ba2;
    transform: translateY(-3px);
}

/* Agreement Page Styles */
.bann {
    background: linear-gradient(135deg, #4585d2 0%, #4280cb 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.bann .h3 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.bann .text-muted {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.post-content {
    padding: 60px 0;
    background: #fff;
}

.post-content h4 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #2c3e50;
}

.post-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.post-content strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .wrapper {
        
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hbanner .wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hbanner-txt h2 {
        font-size: 36px;
    }
    
    .hstart .wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hview .wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pay-bd ul {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
}

/* Animation Classes */
.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

.fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Additional Template Styles */

/* Single Post Styles */
.single-post .post-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.single-post .post-thumbnail:hover img {
    transform: scale(1.05);
}

.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-tags {
    margin-bottom: 20px;
}

.post-tags i {
    color: #667eea;
    margin-right: 8px;
}

.post-tags a {
    background: #f8f9fa;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    text-decoration: none;
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #667eea;
    color: #fff;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation a {
    flex: 1;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background: #667eea;
    color: #fff;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* Archive Styles */
.posts-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.post-card .post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-card .post-content {
    padding: 25px;
}

.post-card .post-title {
    margin-bottom: 15px;
}

.post-card .post-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

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

.post-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta i {
    margin-right: 5px;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.post-footer .read-more:hover {
    color: #764ba2;
}

.post-footer .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.post-footer .read-more:hover i {
    transform: translateX(3px);
}

/* Search Results Styles */
.search-result-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.search-result-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.search-result-title a:hover {
    color: #667eea;
}

.search-result-meta {
    margin: 15px 0;
    font-size: 14px;
    color: #7f8c8d;
}

.search-result-meta span {
    margin-right: 20px;
}

.search-result-meta i {
    margin-right: 5px;
}

.search-result-excerpt {
    margin: 15px 0;
    line-height: 1.6;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.search-suggestions {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 5px 0;
    color: #666;
}

.search-suggestions li:before {
    content: "•";
    color: #667eea;
    margin-right: 10px;
}

/* Search Form Styles */
.search-form-wrapper {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.search-field {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.search-submit {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #764ba2;
}

/* Comments Styles */
.comments-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-body {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.comment-meta {
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 14px;
    color: #7f8c8d;
}

.comment-metadata a {
    color: #7f8c8d;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #667eea;
}

.comment-content {
    margin: 15px 0;
    line-height: 1.6;
}

.comment-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.comment-form input.error,
.comment-form textarea.error {
    border-color: #e74c3c;
}

/* Sidebar Styles */
.sidebar .widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.sidebar .widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar .widget li:last-child {
    border-bottom: none;
}

.sidebar .widget a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar .widget a:hover {
    color: #667eea;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.newsletter-form button {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #764ba2;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    z-index: 10000;
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 15px;
    outline: none;
    transition: all 0.3s ease;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus,
.mobile-menu-btn:active {
    background: rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.mobile-menu-btn.active {
    background: rgba(0,0,0,0.2);
}

.mobile-menu-btn.active i:before {
    content: "\f00d"; /* fa-times icon */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Smaller padding for mobile */
    }
    
    .header {
        padding: 10px 0; /* Smaller padding for mobile header */
    }
    
    /* Mobile logo size restrictions */
    .logo img {
        height: 40px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
    }
    
    .header .wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: inline;
        float: left;
    }
    
    .nav-wrap {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #2c3e50;
        transition: left 0.3s ease;
        z-index: 9999;
        padding-top: 70px; /* Adjusted for mobile header height */
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    
    .nav-wrap.mobile-open {
        left: 0;
    }
    
    /* Mobile menu overlay */
    .nav-wrap.mobile-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
        pointer-events: none;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px;
        margin: 0;
        list-style: none;
    }
    
    .nav ul li {
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px;
    }
    
    .nav ul li:last-child {
        border-bottom: none;
    }
    
    .nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
        text-decoration: none;
        color: #fff;
        transition: color 0.3s ease;
    }
    
    .nav ul li a:hover {
        color: #667eea;
    }
    
    .btns {
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .btns ul {
        flex-direction: column;
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .btns ul li a {
        display: block;
        text-align: center;
        padding: 12px 20px;
        background: #667eea;
        color: #fff;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.3s ease;
    }
    
    .btns ul li a:hover {
        background: #764ba2;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .hview .wrapper {
        grid-template-columns: 1fr;
    }
    
    .suggestion-box {
        margin-bottom: 20px !important;
    }
}

/* Contact Section Styles */
.contact-section {
    background: #f8f9fa;
    padding: 80px 0;
    width: 100vw; /* 使用视口宽度确保占满整个屏幕宽度 */
    margin-left: calc(-50vw + 50%); /* 居中并扩展到全宽 */
}

.contact-section .wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    max-width: 1200px; /* 保持合理的最大宽度 */
    margin: 0 auto; /* 居中 */
    padding: 0 20px; /* 添加左右内边距 */
}

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

.contact-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-header p {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: stretch;
    width: 100%;
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    order: 1;
    max-width: none; /* 移除任何最大宽度限制 */
}

/* Contact Form 7 Styles */
.wpcf7-form {
    display: grid;
    gap: 20px;
}

.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wpcf7-form .form-row.full-width {
    grid-template-columns: 1fr;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: start;
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Contact Form 7 Validation */
.wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #fee;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.wpcf7-mail-sent-ok {
    background: #eff8ff;
    border: 1px solid #27ae60;
    color: #27ae60;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.wpcf7-response-output {
    margin: 20px 0 0;
}

/* Fallback Contact Form Styles */
.fallback-contact-form .contact-form {
    display: grid;
    gap: 20px;
}

.fallback-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fallback-contact-form .form-row:nth-child(2),
.fallback-contact-form .form-row:nth-child(3),
.fallback-contact-form .form-row:nth-child(4) {
    grid-template-columns: 1fr;
}

.fallback-contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.fallback-contact-form input,
.fallback-contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.fallback-contact-form input:focus,
.fallback-contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.fallback-contact-form .g-btn {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Contact Info Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    order: 2;
    width: 100%;
    max-width: none; /* 移除任何最大宽度限制 */
}

.contact-info-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: #fff;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.contact-details p {
    color: #7f8c8d;
    margin: 0;
    font-size: 16px;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #764ba2;
}

/* Mobile Responsive for Contact Section */
@media (max-width: 768px) {
    .contact-section .wrapper {
        gap: 40px;
    }
    
    .contact-form-wrapper {
        gap: 30px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .wpcf7-form .form-row,
    .fallback-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-header h2 {
        font-size: 32px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-item {
        padding: 20px;
        flex-direction: row;
        text-align: left;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 20px;
    }
}