/*
Theme Name: China Sourcing Agent
Theme URI: https://chinasourcingagent.com
Author: CSA Team
Author URI: https://chinasourcingagent.com
Description: Professional China sourcing agent theme - transparent pricing, quality inspection, no hidden fees.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: china-sourcing-agent
Tags: responsive, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =Reset
-------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; background: #fff; }
img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.5em; }
a { color: #1a5ca8; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 1em 0 0.5em; font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* =Layout
-------------------------------------------------------------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =Header
-------------------------------------------------------------- */
.site-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto;
    height: 70px;
    box-sizing: border-box;
}
.site-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a5ca8;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0 10px 0 0;
}
.site-logo span { color: #f39c12; }
.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
}
.main-nav ul, .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0;
}
.main-nav li {
    position: relative;
    flex-shrink: 0;
}
.main-nav li a, .nav-menu li a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    padding: 24px 16px;
    display: block;
    white-space: nowrap;
}
.main-nav li a:hover, .nav-menu li a:hover {
    color: #1a5ca8;
    text-decoration: none;
}
.has-dropdown { position: relative; }
.has-dropdown > a::after {
    content: ' ▾';
    font-size: 11px;
}

/* Dropdown menus */
.main-nav .sub-menu, .nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 6px;
    min-width: 220px;
    padding: 10px 0;
    z-index: 9999;
    list-style: none;
}
.main-nav .sub-menu li, .nav-menu .sub-menu li { width: 100%; }
.main-nav .sub-menu a, .nav-menu .sub-menu a {
    padding: 10px 20px;
    font-size: 13px;
    color: #333;
    display: block;
}
.main-nav .sub-menu a:hover, .nav-menu .sub-menu a:hover {
    color: #1a5ca8;
    background: #f0f4fa;
}
.main-nav li:hover > .sub-menu, .nav-menu li:hover > .sub-menu { display: block; }

/* Header CTA Button */
.header-cta-btn {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.3s;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 20px;
}
.header-cta-btn:hover { background: #e67e22; text-decoration: none; color: #fff; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* =Hero Section
-------------------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, #0d3a6e 0%, #1a5ca8 50%, #0d4a8a 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}
.hero h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}
.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* =Trust Bar
-------------------------------------------------------------- */
.trust-bar { background: #f8f9fa; padding: 20px 0; border-bottom: 1px solid #eee; }
.trust-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 500; color: #333; }
.trust-icon { font-size: 1.2rem; }

/* =Buttons
-------------------------------------------------------------- */
.btn-primary {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 14px 36px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: #e67e22; text-decoration: none; color: #fff; }
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 36px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: #fff; }
.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 14px 36px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}
.btn-whatsapp:hover { background: #1da851; text-decoration: none; color: #fff; }

/* =Sections
-------------------------------------------------------------- */
.section { padding: 80px 0; }
.section-light { background: #f8f9fa; }
.section-dark { background: #1a1a2e; color: #fff; }
.section-dark-blue { background: #0d3a6e; color: #fff; }
.section-title {
    text-align: center;
    margin-bottom: 15px !important;
    font-size: 2.2rem;
    color: #1a1a2e;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #f39c12;
    margin: 15px auto 0;
}
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

/* =Stats
-------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 3rem; color: #f39c12; margin: 0 0 5px; }
.stat-item p { margin: 0; opacity: 0.8; font-size: 1rem; }

/* =About Intro
-------------------------------------------------------------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-text h2 { margin-top: 0; }
.about-intro-text .lead { font-size: 1.15rem; color: #1a5ca8; font-weight: 600; line-height: 1.7; }
.about-intro-text p { color: #555; margin-bottom: 15px; }
.about-intro-image {}
.highlight-box {
    background: linear-gradient(135deg, #1a5ca8, #0d3a6e);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(13,58,110,0.3);
}
.highlight-box h4 { margin: 0 0 15px; font-size: 1.3rem; color: #f39c12; }
.highlight-box p { margin: 0; opacity: 0.95; line-height: 1.7; }

/* =Service Cards
-------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a5ca8, #0d3a6e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.8rem;
}
.service-card h3 { font-size: 1.2rem; margin: 0 0 15px; color: #1a1a2e; }
.service-card p { color: #666; font-size: 0.95rem; margin: 0; }

/* =Process Steps
-------------------------------------------------------------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; }
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(243,156,18,0.3);
}
.step-content h4 { margin: 0 0 8px; font-size: 1.05rem; color: #1a1a2e; }
.step-content p { margin: 0; color: #666; font-size: 0.9rem; }

/* =Promises Grid
-------------------------------------------------------------- */
.promises-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.promise-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}
.promise-card h3 { font-size: 1.1rem; color: #1a5ca8; margin: 0 0 15px; }
.promise-card ul { margin: 0; padding-left: 1.2em; }
.promise-card li { margin-bottom: 8px; color: #555; font-size: 0.95rem; }

/* =Start Section
-------------------------------------------------------------- */
.start-section { text-align: center; max-width: 800px; margin: 0 auto; }
.start-section h2 { color: #fff; font-size: 2rem; margin-bottom: 20px; }
.start-section p { opacity: 0.9; margin-bottom: 15px; font-size: 1.05rem; }

/* =CTA Section
-------------------------------------------------------------- */
.cta-section { background: linear-gradient(135deg, #f39c12, #e67e22); padding: 80px 0; text-align: center; color: #fff; }
.cta-section h2 { color: #fff; font-size: 2.2rem; margin-bottom: 15px; }
.cta-section h2::after { display: none; }
.cta-section p { opacity: 0.95; font-size: 1.1rem; margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: #fff; color: #1a5ca8; }
.cta-section .btn-primary:hover { background: #f0f4fa; }

/* =Testimonials
-------------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 3px 12px rgba(0,0,0,0.08); }
.testimonial-card .stars { color: #f39c12; margin-bottom: 10px; }
.testimonial-card blockquote { margin: 0 0 15px; font-style: italic; color: #555; }
.testimonial-card cite { color: #888; font-size: 0.9rem; }

/* =Features Grid
-------------------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-item h3 { display: flex; align-items: center; gap: 12px; color: #1a5ca8; }
.feature-item h3::before {
    content: '✓';
    background: #f39c12;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* =Inquiry Form
-------------------------------------------------------------- */
.inquiry-section { background: linear-gradient(135deg, #1a5ca8, #0d3a6e); padding: 70px 0; }
.inquiry-form { background: #fff; padding: 50px; border-radius: 15px; max-width: 800px; margin: 0 auto; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.inquiry-form h2 { color: #1a1a2e; margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit { background: #f39c12; color: #fff; border: none; padding: 14px 40px; border-radius: 6px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.3s; }
.btn-submit:hover { background: #e67e22; }

/* =Footer
-------------------------------------------------------------- */
.site-footer { background: #1a1a2e; color: #fff; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #f39c12; margin: 0 0 20px; font-size: 1.1rem; }
.footer-col p { color: rgba(255,255,255,0.7); margin: 0 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: #f39c12; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* =Responsive
-------------------------------------------------------------- */
@media (max-width: 992px) {
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .promises-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr; }
    .promises-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .trust-items { gap: 15px; }
}

/* =WhatsApp Floating Button
-------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}
.whatsapp-icon {
    font-size: 1.8rem;
    line-height: 1;
}
