/**
 * Focus Simple Theme Styles
 * Based on focus-start theme design
 */

@charset "utf-8";

/* Reset
-------------------------------------------------------------- */
html { overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased; 
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFangSC-Regular', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, 'WenQuanYi Micro Hei', SimSun, sans-serif;
    color: #636363;
    overflow-x: hidden;
}
a { 
    text-decoration: none; 
    color: #333; 
    transition: all 0.3s ease-in-out;
}
a:hover, a:focus { 
    color: #1d89ff; 
    text-decoration: none; 
    outline: 0;
}
img { max-width: 100%; height: auto; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { 
    font-weight: 600; 
    color: #333;
    line-height: 1.3;
}

/* Header
-------------------------------------------------------------- */
.focux-header { margin-bottom: 80px; }
.focux-header .top-nav { 
    position: fixed; 
    left: 0; 
    top: 0; 
    width: 100%; 
    z-index: 9999; 
    background: #fff; 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#logo { 
    position: relative; 
    height: 80px; 
    line-height: 80px; 
    overflow: hidden; 
    float: left; 
}
#logo a { display: block; }
#logo img { max-height: 60px; vertical-align: middle; }
#logo .logo-text { 
    font-size: 24px; 
    font-weight: 700; 
    color: #1d89ff;
}

/* Main Nav */
.nav-wrap { text-align: center; }
#mainnav { display: inline-block; }
#mainnav ul { margin: 0; padding: 0; list-style: none; }
#mainnav ul li { position: relative; }
#mainnav > ul > li { display: inline-block; }
#mainnav > ul > li > a { 
    display: block; 
    font-size: 15px; 
    font-weight: 500; 
    padding: 28px 18px; 
    color: #333;
}
#mainnav > ul > li:hover > a { 
    background: #1d89ff; 
    color: #fff;
}

/* Sub Menu */
#mainnav ul.sub-menu { 
    position: absolute; 
    left: 0; 
    top: 100%; 
    width: 220px; 
    text-align: left; 
    background-color: #ffffff; 
    z-index: 9999; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
#mainnav ul li:hover > ul.sub-menu { 
    opacity: 1; 
    visibility: visible;
    transform: translateY(0);
}
#mainnav ul.sub-menu li { border-bottom: 1px solid #f0f0f0; }
#mainnav ul.sub-menu li:last-child { border-bottom: none; }
#mainnav ul.sub-menu > li > a { 
    display: block; 
    color: #333; 
    padding: 12px 20px; 
    font-weight: 500; 
    font-size: 14px;
}
#mainnav ul.sub-menu > li > a:hover { 
    background: #1d89ff; 
    color: #ffffff;
}

/* Mobile Button */
.mobile-button { 
    display: none; 
    float: right; 
    margin-top: 25px; 
    cursor: pointer;
    padding: 10px;
}
.mobile-button span { 
    display: block; 
    width: 25px; 
    height: 2px; 
    background: #333; 
    margin: 6px 0; 
    transition: all 0.3s ease;
}
.mobile-button.active span:nth-child(1) { 
    transform: rotate(45deg); 
    position: relative; 
    top: 8px;
}
.mobile-button.active span:nth-child(2) { opacity: 0; }
.mobile-button.active span:nth-child(3) { 
    transform: rotate(-45deg); 
    position: relative; 
    top: -8px;
}

/* Search */
.show-search { 
    float: right; 
    margin-top: 28px; 
    margin-left: 20px;
    position: relative; 
}
.show-search a { 
    font-size: 16px; 
    color: #333;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.show-search a:hover { 
    background: #1d89ff; 
    color: #fff;
}
.top-search { 
    position: absolute; 
    right: 0; 
    top: 100%; 
    width: 300px; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
}
.top-search.show { 
    opacity: 1; 
    visibility: visible;
}
.top-search .search-form { 
    position: relative; 
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.top-search .search-field { 
    width: 100%; 
    padding: 15px 50px 15px 20px; 
    border: none;
    font-size: 14px;
}
.top-search .search-submit { 
    position: absolute; 
    right: 0; 
    top: 0; 
    height: 100%; 
    width: 50px; 
    background: #1d89ff; 
    color: #fff; 
    border: none;
    cursor: pointer;
}

/* Banner Section
-------------------------------------------------------------- */
.banner-section { position: relative; }
.banner-section .swiper-container { height: 600px; }
.banner-section .swiper-slide { 
    background-size: cover; 
    background-position: center;
    display: flex;
    align-items: center;
}
.banner-section .overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.5);
}
.banner-content { 
    position: relative; 
    z-index: 2; 
    text-align: center;
    color: #fff;
}
.banner-content h1 { 
    font-size: 48px; 
    font-weight: 700; 
    margin-bottom: 20px;
    color: #fff;
}
.banner-content p { 
    font-size: 20px; 
    margin-bottom: 30px;
}
.banner-content .btn { 
    padding: 15px 40px; 
    font-size: 16px;
    border-radius: 30px;
}

/* Section Styles
-------------------------------------------------------------- */
.section-padding { padding: 80px 0; }
.bg-gray { background: #f8f9fa; }

.section-title { margin-bottom: 50px; }
.section-title h2 { 
    font-size: 36px; 
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1d89ff;
}
.section-title p { 
    font-size: 16px; 
    color: #666;
}

/* Service Box
-------------------------------------------------------------- */
.service-box { 
    text-align: center; 
    padding: 40px 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}
.service-box:hover { 
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.service-icon { 
    width: 80px; 
    height: 80px; 
    line-height: 80px; 
    background: #1d89ff; 
    color: #fff; 
    font-size: 32px; 
    border-radius: 50%; 
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}
.service-box:hover .service-icon { 
    background: #0056b3;
    transform: rotateY(360deg);
}
.service-box h3 { 
    font-size: 22px; 
    margin-bottom: 15px;
}
.service-box p { 
    color: #666; 
    line-height: 1.8;
}

/* About Section
-------------------------------------------------------------- */
.about-content h2 { 
    font-size: 36px; 
    margin-bottom: 25px;
}
.about-content p { 
    margin-bottom: 20px; 
    line-height: 1.8;
}
.about-list { margin: 30px 0; }
.about-list li { 
    margin-bottom: 12px; 
    font-size: 16px;
}
.about-list li i { 
    color: #1d89ff; 
    margin-right: 10px;
}
.about-image img { 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* News Section
-------------------------------------------------------------- */
.news-item { 
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}
.news-item:hover { 
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.news-image { overflow: hidden; }
.news-image img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover;
    transition: all 0.3s ease;
}
.news-item:hover .news-image img { transform: scale(1.1); }
.news-content { padding: 25px; }
.news-meta { 
    margin-bottom: 15px; 
    font-size: 13px; 
    color: #999;
}
.news-meta span { margin-right: 15px; }
.news-meta i { margin-right: 5px; }
.news-content h3 { 
    font-size: 18px; 
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-content h3 a { color: #333; }
.news-content h3 a:hover { color: #1d89ff; }
.news-content p { 
    color: #666; 
    margin-bottom: 15px;
    line-height: 1.6;
}
.read-more { 
    color: #1d89ff; 
    font-weight: 500;
}
.read-more:hover { color: #0056b3; }
.read-more i { margin-left: 5px; }

/* CTA Section
-------------------------------------------------------------- */
.cta-section { 
    background: #1d89ff; 
    padding: 80px 0;
    position: relative;
}
.cta-section .overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.2);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { 
    color: #fff; 
    font-size: 36px; 
    margin-bottom: 15px;
}
.cta-section p { 
    color: rgba(255, 255, 255, 0.9); 
    font-size: 18px; 
    margin-bottom: 30px;
}
.cta-section .btn { 
    background: #fff; 
    color: #1d89ff; 
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
}
.cta-section .btn:hover { 
    background: #f8f9fa;
    transform: translateY(-3px);
}

/* Page Title
-------------------------------------------------------------- */
.page-title { 
    position: relative; 
    background-size: cover; 
    background-position: center;
    padding: 120px 0;
}
.page-title .overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.6);
}
.page-title-content { position: relative; z-index: 2; }
.page-title h3 { 
    color: #fff; 
    font-size: 36px; 
    margin-bottom: 15px;
}
.breadcrumbs { color: rgba(255, 255, 255, 0.8); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.8); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .current { color: #1d89ff; }

/* Blog Details
-------------------------------------------------------------- */
.blog-post { background: #fff; }
.post-thumbnail { margin-bottom: 30px; }
.post-thumbnail img { 
    width: 100%; 
    border-radius: 8px;
}
.post-meta { 
    margin-bottom: 20px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid #eee;
}
.post-meta ul { display: flex; flex-wrap: wrap; }
.post-meta li { 
    margin-right: 25px; 
    color: #666;
    font-size: 14px;
}
.post-meta li i { 
    color: #1d89ff; 
    margin-right: 5px;
}
.post-title { 
    font-size: 32px; 
    margin-bottom: 25px;
    line-height: 1.3;
}
.post-body { 
    line-height: 1.8; 
    font-size: 16px;
}
.post-body p { margin-bottom: 20px; }
.post-body h2, .post-body h3 { margin: 30px 0 15px; }
.post-tags { 
    margin-top: 30px; 
    padding-top: 30px; 
    border-top: 1px solid #eee;
}
.post-tags .tags-title { 
    font-weight: 600; 
    margin-right: 10px;
}
.post-share { 
    margin-top: 30px; 
    padding: 20px; 
    background: #f8f9fa; 
    border-radius: 8px;
}
.post-navigation { 
    margin-top: 40px; 
    padding-top: 30px; 
    border-top: 1px solid #eee;
}
.post-navigation a { 
    color: #333; 
    font-weight: 500;
}
.post-navigation a:hover { color: #1d89ff; }

/* Related Posts
-------------------------------------------------------------- */
.related-posts { margin-top: 50px; }
.related-title { 
    font-size: 24px; 
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1d89ff;
    display: inline-block;
}
.related-item { margin-bottom: 20px; }
.related-image { 
    overflow: hidden; 
    border-radius: 8px;
    margin-bottom: 15px;
}
.related-image img { 
    width: 100%; 
    height: 150px; 
    object-fit: cover;
    transition: all 0.3s ease;
}
.related-item:hover .related-image img { transform: scale(1.1); }
.related-item h4 { 
    font-size: 16px; 
    line-height: 1.4;
}
.related-item h4 a { color: #333; }
.related-item h4 a:hover { color: #1d89ff; }

/* Sidebar
-------------------------------------------------------------- */
.sidebar .widget { 
    background: #fff; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}
.widget-title { 
    font-size: 20px; 
    margin-bottom: 25px; 
    padding-bottom: 15px; 
    border-bottom: 2px solid #1d89ff;
    display: inline-block;
}
.widget-search .search-form { position: relative; }
.widget-search .search-field { 
    width: 100%; 
    padding: 12px 45px 12px 15px; 
    border: 1px solid #ddd;
    border-radius: 4px;
}
.widget-search .search-submit { 
    position: absolute; 
    right: 0; 
    top: 0; 
    height: 100%; 
    width: 45px; 
    background: #1d89ff; 
    color: #fff; 
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.widget-recent-posts li { 
    padding: 12px 0; 
    border-bottom: 1px solid #eee;
}
.widget-recent-posts li:last-child { border-bottom: none; }
.widget-recent-posts a { 
    color: #333; 
    display: block;
    margin-bottom: 5px;
}
.widget-recent-posts a:hover { color: #1d89ff; }
.widget-recent-posts .post-date { 
    font-size: 13px; 
    color: #999;
}
.widget-categories li { 
    padding: 10px 0; 
    border-bottom: 1px solid #eee;
}
.widget-categories li:last-child { border-bottom: none; }
.widget-categories a { 
    color: #333; 
    display: flex; 
    justify-content: space-between;
}
.widget-categories a:hover { color: #1d89ff; }
.widget-categories span { color: #999; }
.widget-tags .tagcloud { display: flex; flex-wrap: wrap; }
.widget-tags a { 
    display: inline-block; 
    padding: 8px 15px; 
    background: #f8f9fa; 
    color: #666; 
    margin: 0 8px 8px 0; 
    border-radius: 4px;
    font-size: 13px;
}
.widget-tags a:hover { 
    background: #1d89ff; 
    color: #fff;
}

/* Category & Search Pages
-------------------------------------------------------------- */
.category-description { 
    margin-bottom: 30px; 
    padding: 20px; 
    background: #f8f9fa; 
    border-radius: 8px;
}
.post-item { 
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}
.post-item .post-image { overflow: hidden; }
.post-item .post-image img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover;
    transition: all 0.3s ease;
}
.post-item:hover .post-image img { transform: scale(1.1); }
.post-item .post-content { padding: 25px; }
.search-item { 
    padding: 30px; 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}
.search-image img { 
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    border-radius: 8px;
}
.search-content h3 { 
    font-size: 20px; 
    margin-bottom: 10px;
}
.search-content h3 a { color: #333; }
.search-content h3 a:hover { color: #1d89ff; }
.search-meta { 
    margin-bottom: 10px; 
    font-size: 13px; 
    color: #999;
}
.search-meta span { margin-right: 15px; }
.no-results { 
    text-align: center; 
    padding: 50px;
}
.no-results h3 { margin-bottom: 15px; }

/* Pagination
-------------------------------------------------------------- */
.pagination-wrapper { margin-top: 40px; }
.pagination { display: flex; justify-content: center; }
.pagination li { margin: 0 5px; }
.pagination li a, .pagination li span { 
    display: block; 
    padding: 10px 18px; 
    background: #fff; 
    color: #333; 
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.pagination li a:hover, .pagination li span.current { 
    background: #1d89ff; 
    color: #fff;
}

/* Footer
-------------------------------------------------------------- */
.footer { background: #2c3e50; color: #fff; }
.footer-widgets { padding: 80px 0 50px; }
.footer .widget-title { 
    color: #fff; 
    font-size: 20px; 
    margin-bottom: 25px;
    border-bottom: none;
}
.footer .widget-content { color: rgba(255, 255, 255, 0.8); }
.footer .widget-content p { margin-bottom: 15px; line-height: 1.8; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { 
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}
.footer-links a:hover { 
    color: #1d89ff; 
    padding-left: 5px;
}
.contact-info li { 
    margin-bottom: 15px; 
    color: rgba(255, 255, 255, 0.8);
}
.contact-info i { 
    color: #1d89ff; 
    margin-right: 10px; 
    width: 20px;
}
.footer-bottom { 
    padding: 25px 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { 
    margin-bottom: 5px; 
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 404 Page
-------------------------------------------------------------- */
.error-section { padding: 100px 0; }
.error-content { max-width: 600px; margin: 0 auto; }
.error-code { 
    font-size: 120px; 
    font-weight: 700; 
    color: #1d89ff; 
    margin-bottom: 20px;
    line-height: 1;
}
.error-content h2 { margin-bottom: 20px; }
.error-content p { 
    color: #666; 
    margin-bottom: 30px;
}
.error-search { margin: 40px 0; }
.error-search h3 { 
    font-size: 20px; 
    margin-bottom: 20px;
}
.error-search .search-form { 
    max-width: 500px; 
    margin: 0 auto;
    position: relative;
}
.error-search .search-field { 
    width: 100%; 
    padding: 15px 120px 15px 20px; 
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
}
.error-search .search-submit { 
    position: absolute; 
    right: 5px; 
    top: 5px; 
    padding: 10px 25px; 
    background: #1d89ff; 
    color: #fff; 
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}
.error-links h3 { 
    font-size: 20px; 
    margin-bottom: 20px;
}
.error-buttons { display: flex; justify-content: center; gap: 15px; }
.error-buttons .btn { 
    padding: 12px 30px; 
    border-radius: 30px;
}
.error-buttons .btn-secondary { 
    background: #6c757d; 
    color: #fff;
}

/* Buttons
-------------------------------------------------------------- */
.btn { 
    display: inline-block; 
    padding: 12px 30px; 
    font-size: 14px; 
    font-weight: 500; 
    text-align: center; 
    border-radius: 4px; 
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary { 
    background: #1d89ff; 
    color: #fff;
}
.btn-primary:hover { 
    background: #0056b3; 
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 137, 255, 0.3);
}
.btn-lg { padding: 15px 40px; font-size: 16px; }

/* Responsive
-------------------------------------------------------------- */
@media (max-width: 991px) {
    .mobile-button { display: block; }
    #mainnav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: #fff;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    #mainnav.active { display: block; }
    #mainnav > ul > li { 
        display: block; 
        text-align: left;
    }
    #mainnav > ul > li > a { 
        padding: 15px 20px; 
        border-bottom: 1px solid #f0f0f0;
    }
    #mainnav ul.sub-menu { 
        position: static; 
        width: 100%; 
        opacity: 1; 
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    #mainnav ul li:hover > ul.sub-menu { display: block; }
    .banner-section .swiper-container { height: 450px; }
    .banner-content h1 { font-size: 36px; }
    .section-padding { padding: 60px 0; }
}

@media (max-width: 767px) {
    #logo { height: 60px; line-height: 60px; }
    .show-search { margin-top: 18px; }
    .mobile-button { margin-top: 15px; }
    .banner-section .swiper-container { height: 350px; }
    .banner-content h1 { font-size: 28px; }
    .banner-content p { font-size: 16px; }
    .section-title h2 { font-size: 28px; }
    .about-content h2 { font-size: 28px; }
    .post-title { font-size: 24px; }
    .error-code { font-size: 80px; }
    .error-buttons { flex-direction: column; }
}

@media (max-width: 575px) {
    .banner-content h1 { font-size: 24px; }
    .service-box { padding: 30px 20px; }
    .news-content { padding: 20px; }
    .sidebar .widget { padding: 20px; }
    .footer-widgets { padding: 60px 0 30px; }
}
