/*
Theme Name: NoticeBazaar Theme
Description: A professional WordPress theme inspired by NoticeBazaar.com design - perfect for legal services, consulting, and business websites
Author: Your Name
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noticebazaar-theme
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: #1e40af;
    color: white;
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

.top-bar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Header Styles */
.site-header {
    background-color: #2563eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin: 0;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.site-title:hover,
.site-title a:hover {
    color: #e5e7eb;
}

.site-description {
    color: #e5e7eb;
    font-size: 0.9rem;
    margin: 0;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.main-navigation a:hover {
    color: #e5e7eb;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #e5e7eb;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #4F7CFF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #3A5FE6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 124, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #4F7CFF;
    padding: 15px 30px;
    border: 2px solid #4F7CFF;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #4F7CFF;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8f9ff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 20px;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.85rem;
}

.service-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.why-choose-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.why-choose-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.icon-circle.blue {
    background-color: #2563eb;
}

.icon-circle.green {
    background-color: #10b981;
}

.icon-circle.purple {
    background-color: #8b5cf6;
}

.icon-circle.red {
    background-color: #ef4444;
}

.why-choose-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.why-choose-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: #f8f9ff;
}

.how-it-works-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: #2563eb;
    font-weight: bold;
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.success-story {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #e5e7eb;
}

.story-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.success-story h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.success-story p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9ff;
}

.testimonials-grid {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.testimonial-content {
    flex: 1;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author strong {
    color: #2c3e50;
    font-weight: 600;
}

.testimonial-author span {
    color: #666;
    margin-left: 0.5rem;
}

/* Main Content */
.site-main {
    background-color: #fff;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Posts */
.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.post-title a {
    text-decoration: none;
    color: inherit;
}

.post-title a:hover {
    color: #4F7CFF;
}

.post-meta {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Sidebar */
.sidebar {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #4F7CFF;
    padding-bottom: 0.5rem;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #4F7CFF;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info a {
    color: #4F7CFF;
    text-decoration: none;
}

/* Layout */
.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .header-actions {
        order: 2;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2563eb;
        padding: 1rem;
        justify-content: center;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2563eb;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 60px; /* Account for header actions height */
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem;
        font-size: 16px;
    }
    
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Hide top bar on very small screens */
    .top-bar {
        font-size: 12px;
        padding: 6px 0;
        display: none;
    }
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9ff;
    border-radius: 8px;
    border-left: 4px solid #4F7CFF;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    text-decoration: none;
    color: #4F7CFF;
    border: 1px solid #4F7CFF;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #4F7CFF;
    color: white;
}
/* Footer */
.site-footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

/* Updated Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .success-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .success-stories-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 0.75rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .header-actions {
        order: 2;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: transparent;
        padding: 1rem;
        justify-content: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 998;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2563eb;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 60px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 0;
        padding: 1rem 0;
        margin: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }
    
    .main-navigation a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
    
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial {
        flex-direction: column;
        text-align: center;
    }
    
    /* Improve button spacing on mobile */
    .btn-small {
        padding: 10px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    /* Better site title sizing on mobile */
    .site-title {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        font-size: 1.3rem;
    }
}

/* Additional mobile improvements for very small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .site-title {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        font-size: 1.1rem;
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .top-bar {
        font-size: 11px;
        padding: 4px 0;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
}

/* Mobile-Only Styles */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .header-actions {
        flex-direction: column;
        align-items: center;
    }

    .header-actions .btn-primary.mobile-only {
        margin-bottom: 1rem;
    }

    .top-bar.mobile-only {
        display: block;
        text-align: center;
    }
}
.why-choose-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.why-choose-icon-container {
    flex-shrink: 0;
}

.why-choose-text {
    flex-grow: 1;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-card .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card .post-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.blog-card .post-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-card .post-content {
    font-size: 0.9rem;
    color: #333;
}