/* Reset and Base Styles */
:root {
    --primary-color: #0056b3;
    /* Darker blue like prorent */
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-color: #333333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --light-gray: #e9ecef;
    --max-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Top Bar */
.top-bar {
    background-color: #212529;
    color: #ccc;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.top-bar-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a:hover {
    color: var(--white);
}

/* Sticky Container */
.sticky-header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Changed from sticky */
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    flex: 1;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

/* Page Container (Sidebar Layout) */
.page-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    /* Clean look */
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); Optional: Remove for flat look */
    border: 1px solid #eee;
    /* Light border per screenshot hint */
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: 600;
}

.widget-list li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 0.8rem;
}

.widget-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-list a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    line-height: 1.4;
}

.widget-list a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1544377193-33dcf4d68fb5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    /* Credit Unsplash or Local */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    border-radius: 1rem;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #004494;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.pricing-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.features-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Service Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #9ca3af;
    padding: 4rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section a {
    color: #9ca3af;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #374151;
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .page-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        z-index: 1001;
        /* Ensure menu is above other content */
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 4rem 1rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        left: 0;
        right: 0;
        right: 0;
        border-radius: 0;
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 1.5rem;
        /* Reduced from 2rem */
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.1rem;
        /* Reduced further for mobile (blue text) */
        white-space: nowrap;
        /* Prevent wrapping if possible, or handle overflow */
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70%;
        /* Give space for hamburger */
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.5rem;
    }

    .pricing-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
        /* Stack cards on mobile */
        gap: 1.5rem;
    }

    .pricing-card {
        margin: 0 1rem;
        /* Add side margin on mobile */
    }

    /* Fix Full Width Sections on Mobile */
    section[style*="margin-left: -50vw"] {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        width: 100vw !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        padding: 3rem 1rem !important;
        box-sizing: border-box !important;
    }

    /* Adjust footer grid */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3 {
        display: inline-block;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .pricing-header h3 {
        font-size: 1.25rem;
    }
}

/* Sticky WhatsApp Button */
.floating-wa-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.floating-wa-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: #20bd5a;
    color: white;
}

.floating-wa-button i {
    font-size: 1.2rem;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .floating-wa-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

}

/* Global Article Title Centering */
article header h1,
.page-container h1,
.page-container article h1 {
    text-align: center;
    width: 100%;
}

/* 404 Page Styles */
.error-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: -2rem;
    line-height: 1;
}

.error-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.error-info p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    margin-bottom: 3rem;
    width: 100%;
    max-width: 500px;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
}

.search-button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}

/* Mobile responsiveness for new Header */
.mobile-layout-stack {
    display: none;
}

@media (max-width: 768px) {
    .header-container header {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    .header-search,
    .auth-nav {
        display: none !important;
    }

    /* Ensure hamburger is gone */
    .menu-toggle {
        display: none !important;
    }

    /* Force show the stacked layout on mobile */
    .mobile-layout-stack {
        display: flex !important;
        background: #fff;
        width: 100%;
        box-sizing: border-box;
    }
}