/**
 * Scrape99 Custom Styles
 * Green Theme - Primary Color: #2ECC71
 * Fully Responsive Design
 */

/* ==========================================================================
   1. Reset and Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   2. Header Styles
   ========================================================================== */
.header_main {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.header_ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header_ul li {
    margin: 0 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}

.header_ul li:hover,
.header_ul li.active {
    color: #2ECC71;
}

.header_ul a {
    color: inherit;
    text-decoration: none;
}

.schedule-btn {
    background: #2ECC71;
    color: white !important;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
    border: none;
}

.schedule-btn:hover {
    background: #27AE60;
    color: white !important;
    text-decoration: none;
}

.schedule-btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.mobile-menu-container {
    display: none;
}

/* ==========================================================================
   3. Hero Section (Home Page)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero_content {
    position: relative;
    z-index: 1;
}

.hero_content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero_content .highlight {
    color: #FFD93D;
}

.hero_subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.pickup_items {
    display: block;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.download_app_text {
    color: rgba(255,255,255,0.85);
    margin-top: 20px;
}

.download_app_text a {
    color: #FFD93D;
    font-weight: 700;
    text-decoration: none;
}

/* ==========================================================================
   4. Form Styles
   ========================================================================== */
.pickup-form-container,
.contact-form-box {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.form-input,
.form-control,
textarea.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.form-input:focus,
.form-control:focus,
textarea.form-input:focus {
    border-color: #2ECC71;
    box-shadow: none;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s;
}

.phone-input-group:focus-within {
    border-color: #2ECC71;
}

.phone-input-group span {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.phone-input-group input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
}

.submit-btn,
.btn-primary {
    width: 100%;
    background: #2ECC71;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover,
.btn-primary:hover {
    background: #27AE60;
    color: white;
}

.help-text {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.help-text a {
    color: #2ECC71;
    font-weight: 600;
    text-decoration: none;
}

/* ==========================================================================
   5. Sections Styles
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.awards-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.awards-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.awards-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.award-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* How It Works */
.how-works-section {
    padding: 80px 0;
    background: white;
}

.work-step {
    text-align: center;
    padding: 20px;
}

.work-step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.work-step-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #E8F8F0 0%, #D5F4E6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
}

.work-step p {
    color: #666;
    line-height: 1.6;
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.why-us-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
}

.why-us-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.why-us-card p {
    color: #666;
    line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.comparison-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2ECC71;
    margin-bottom: 20px;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.comparison-list li::before {
    content: '✓';
    color: #2ECC71;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: -3px;
}

.comparison-image {
    max-width: 100%;
    border-radius: 10px;
}

/* Brands Section */
.brands-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.brands-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.brand-item {
    width: 150px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    filter: grayscale(100%);
    opacity: 0.7;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.testimonials-section .section-title {
    color: white;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #2ECC71;
}

.testimonial-header span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.testimonial-text {
    color: #666;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding: 0 10px;
}

.quote-icon {
    font-size: 3rem;
    color: #2ECC71;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.rating {
    color: #FFD93D;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   6. Rates Page Styles
   ========================================================================== */
.rates-content {
    padding: 40px 0;
}

.alert-box {
    background: linear-gradient(135deg, #E8F8F0 0%, #D5F4E6 100%);
    border: 2px solid #2ECC71;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
}

.alert-box h5 {
    font-weight: 700;
    color: #27AE60;
    margin-bottom: 15px;
}

.alert-box ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.alert-box li {
    color: #27AE60;
    margin-bottom: 8px;
}

.alert-box a {
    color: #2ECC71;
    font-weight: 600;
    text-decoration: underline;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-tag {
    padding: 10px 20px;
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.category-tag:hover {
    background: #2ECC71;
    border-color: #2ECC71;
    color: white;
    text-decoration: none;
}

.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ECC71;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2ECC71;
}

.rate-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.rate-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.rate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E8F8F0 0%, #D5F4E6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2ECC71;
    margin-bottom: 10px;
}

.item-note {
    font-size: 0.85rem;
    color: #e74c3c;
    font-style: italic;
    min-height: 20px;
}

.cta-box {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-box .schedule-btn {
    background: white;
    color: #2ECC71;
}

.cta-box .schedule-btn:hover {
    background: #f0f0f0;
}

/* ==========================================================================
   7. Contact Page Styles
   ========================================================================== */
.contact-page {
    padding: 60px 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.page-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-form-box {
    margin-bottom: 30px;
}

.contact-form-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.contact-info-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E8F8F0 0%, #D5F4E6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-item h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-info-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.contact-info-item a {
    color: #2ECC71;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.newsletter-box {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
}

.newsletter-box h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.newsletter-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-box .form-input {
    margin-bottom: 10px;
}

.newsletter-box .submit-btn {
    background: white;
    color: #2ECC71;
}

.newsletter-box .submit-btn:hover {
    background: #f0f0f0;
}

/* ==========================================================================
   8. Footer Styles
   ========================================================================== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #2ECC71;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #2ECC71;
}

/* ==========================================================================
   9. WordPress Specific Styles
   ========================================================================== */
.site-main {
    padding: 40px 0;
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.entry-content {
    line-height: 1.8;
    color: #555;
}

.entry-content a {
    color: #2ECC71;
    text-decoration: none;
}

.entry-content a:hover {
    color: #27AE60;
    text-decoration: underline;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   10. Responsive Styles
   ========================================================================== */

/* Tablet Portrait and Small Desktop */
@media (max-width: 991px) {
    .mobile-menu-container {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .navbar-collapse {
        margin-top: 15px;
    }
    
    .hero_content h1 {
        font-size: 2.5rem;
    }
    
    .pickup-form-container,
    .contact-form-box {
        margin-top: 30px;
        padding: 30px;
    }
    
    .work-step-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .brands-container {
        gap: 20px;
    }
    
    .brand-item {
        width: 120px;
        height: 60px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero_content h1 {
        font-size: 2rem;
    }
    
    .hero_subtitle {
        font-size: 1rem;
    }
    
    .pickup_items {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .comparison-title {
        font-size: 1.5rem;
    }
    
    .comparison-subtitle {
        font-size: 1.3rem;
    }
    
    .comparison-list li {
        font-size: 1rem;
    }
    
    .rate-cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .category-tags {
        gap: 10px;
        padding: 15px;
    }
    
    .category-tag {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-info-box,
    .newsletter-box {
        padding: 25px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero_content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
    
    .pickup-form-container,
    .contact-form-box {
        padding: 25px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .work-step {
        padding: 15px;
    }
    
    .work-step h4 {
        font-size: 1.1rem;
    }
    
    .work-step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .why-us-card {
        padding: 25px;
    }
    
    .why-us-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .why-us-card h4 {
        font-size: 1.1rem;
    }
    
    .rate-cards {
        grid-template-columns: 1fr;
    }
    
    .rate-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .item-name {
        font-size: 1rem;
        min-height: 40px;
    }
    
    .item-price {
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-header img {
        width: 50px;
        height: 50px;
    }
    
    .header_ul li {
        margin: 10px 0;
    }
    
    .navbar-collapse {
        text-align: center;
    }
    
    .schedule-btn {
        padding: 8px 20px;
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
}

/* ==========================================================================
   11. Blog Grid & Archive Styles
   ========================================================================== */

.blog-hero {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.blog-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.blog-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-grid-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

/* Featured Post */
.featured-post {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.featured-post-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.featured-post-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.featured-post-image:hover img {
    transform: scale(1.05);
}

.post-badge {
    background: #2ECC71;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.post-category {
    background: #E8F8F0;
    color: #2ECC71;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-post .post-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-post .post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.featured-post .post-title a:hover {
    color: #2ECC71;
}

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

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #999;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-author img {
    border-radius: 50%;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.blog-card-image {
    overflow: hidden;
    height: 250px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

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

.blog-card .post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card .post-title a {
    color: #333;
    text-decoration: none;
}

.blog-card .post-title a:hover {
    color: #2ECC71;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-form .form-input {
    padding-right: 50px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2ECC71;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #27AE60;
}

/* Popular Posts */
.popular-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-post-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-content h5 a {
    color: #333;
    text-decoration: none;
}

.popular-post-content h5 a:hover {
    color: #2ECC71;
}

.popular-post-date {
    font-size: 0.85rem;
    color: #999;
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag {
    background: #f0f0f0;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-tag:hover {
    background: #2ECC71;
    color: white;
    text-decoration: none;
}

.category-count {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
}

.newsletter-widget p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.newsletter-widget .form-input {
    margin-bottom: 10px;
}

.newsletter-widget .submit-btn {
    background: white;
    color: #2ECC71;
}

.newsletter-widget .submit-btn:hover {
    background: #f0f0f0;
}

/* Pagination */
.blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    background: white;
    color: #333;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: #2ECC71;
    color: white;
}

/* ==========================================================================
   12. Blog Detail / Single Post Styles
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.05);
    z-index: 9999;
}

.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ECC71 0%, #27AE60 100%);
    width: 0%;
    transition: width 0.1s ease;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-nav a {
    color: #2ECC71;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #ccc;
}

.breadcrumb-current {
    color: #999;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
}

.article-category {
    background: #2ECC71;
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #333;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info img {
    border-radius: 50%;
    border: 2px solid #2ECC71;
}

.author-name {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #999;
}

.article-separator {
    color: #ddd;
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

/* Clean up WordPress default styles */
.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

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

.article-content h3 {
    font-size: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #2ECC71;
    text-decoration: underline;
}

.article-content a:hover {
    color: #27AE60;
}

.article-content blockquote {
    border-left: 4px solid #2ECC71;
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    display: block;
}

/* Remove WordPress default inline styles */
.article-content img[style] {
    width: 100% !important;
    height: auto !important;
}

/* Clean up WordPress alignment classes */
.article-content .alignleft {
    float: left;
    margin: 10px 20px 20px 0;
}

.article-content .alignright {
    float: right;
    margin: 10px 0 20px 20px;
}

.article-content .aligncenter {
    display: block;
    margin: 30px auto;
}

/* Remove extra spacing from WordPress */
.article-content br {
    line-height: 0;
}

/* Clean up WordPress embed wrappers */
.article-content .wp-block-embed {
    margin: 30px 0;
}

.article-content iframe {
    max-width: 100%;
    border-radius: 10px;
}

/* Clean up WordPress galleries */
.article-content .wp-block-gallery,
.article-content .gallery {
    margin: 30px 0;
}

.article-content .wp-block-gallery img,
.article-content .gallery img {
    border-radius: 8px;
}

/* Remove WordPress default paragraph spacing issues */
.article-content p:empty {
    display: none;
}

/* Clean up WordPress code blocks */
.article-content pre,
.article-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.article-content pre {
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

/* Clean up WordPress tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.article-content table th,
.article-content table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.article-content table th {
    background: #f8f9fa;
    font-weight: 700;
}

/* Remove inline widths and heights that WordPress adds */
.article-content img[width],
.article-content img[height] {
    width: 100% !important;
    height: auto !important;
}

/* Clean specific WordPress block styles */
.article-content .wp-block-image {
    margin: 30px 0;
}

.article-content .wp-block-image img {
    display: block;
}

.article-content .wp-block-image figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive embeds (videos, iframes) */
.responsive-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 30px 0;
    border-radius: 10px;
}

.responsive-embed iframe,
.responsive-embed object,
.responsive-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article-content .responsive-embed {
    background: #f5f5f5;
}

/* Section title for related posts */
.section-title-small {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

/* Article Tags */
.article-tags {
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.article-tags h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags a {
    background: #f0f0f0;
    color: #333;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.article-tags a:hover {
    background: #2ECC71;
    color: white;
}

/* Author Bio */
.author-bio-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 50px;
    display: flex;
    gap: 25px;
}

.author-bio-avatar img {
    border-radius: 50%;
    border: 3px solid #2ECC71;
}

.author-bio-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.author-bio-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    color: #2ECC71;
    text-decoration: none;
    font-weight: 600;
}

.author-social a:hover {
    text-decoration: underline;
}

/* Table of Contents */
.toc-widget {
    background: #f8f9fa;
}

.table-of-contents {
    max-height: 400px;
    overflow-y: auto;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-item {
    margin-bottom: 10px;
}

.toc-item a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

.toc-item a:hover,
.toc-item a.active {
    background: #2ECC71;
    color: white;
}

.toc-subitem {
    padding-left: 15px;
}

.toc-subitem a {
    font-size: 0.9rem;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.share-btn:hover {
    text-decoration: none;
    transform: translateX(5px);
}

.facebook-btn {
    background: #1877f2;
}

.twitter-btn {
    background: #1da1f2;
}

.linkedin-btn {
    background: #0077b5;
}

.whatsapp-btn {
    background: #25d366;
}

/* Related Posts */
.related-posts-section {
    margin: 60px 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.related-post-image {
    height: 200px;
    overflow: hidden;
}

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

.related-post-content {
    padding: 20px;
}

.related-post-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.related-post-content h4 a {
    color: #333;
    text-decoration: none;
}

.related-post-content h4 a:hover {
    color: #2ECC71;
}

/* Comments */
.comments-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e0e0e0;
}

.comments-wrapper {
    background: white;
    border-radius: 15px;
    padding: 40px;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.comments-area {
    margin-top: 40px;
}

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

.comment-item {
    margin-bottom: 30px;
}

.comment-body {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.comment-avatar img {
    border-radius: 50%;
    border: 2px solid #2ECC71;
}

.comment-content {
    flex: 1;
}

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

.comment-author {
    font-weight: 700;
    color: #333;
    margin-right: 10px;
}

.comment-author a {
    color: #333;
    text-decoration: none;
}

.comment-author a:hover {
    color: #2ECC71;
}

.comment-date {
    color: #999;
    font-size: 0.9rem;
}

.comment-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-reply a {
    color: #2ECC71;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.comment-reply a:hover {
    text-decoration: underline;
}

.comment-respond {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

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

.no-comments {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* Blog Responsive */
@media (max-width: 991px) {
    .blog-title {
        font-size: 2.5rem;
    }
    
    .featured-post {
        padding: 25px;
    }
    
    .blog-sidebar {
        margin-top: 40px;
        position: static;
    }
    
    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .featured-post .post-title {
        font-size: 1.5rem;
    }
    
    .author-bio-box {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .share-btn {
        flex: 1;
        min-width: 45%;
    }
    
    .comment-body {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 40px 0;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .featured-post {
        padding: 20px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .comments-wrapper {
        padding: 25px;
    }
    
    .comment-body {
        padding: 20px;
    }
}
