/* Reset and Base Styles */
:root {
    --primary-color: #0d6efd;
    /* Bootstrap Blue */
    --secondary-color: #0a58ca;
    --accent-color: #ffc107;
    --text-color: #212529;
    --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;
}

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;
    border: 1px solid #eee;
}

.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(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 1rem;
    width: 100%;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #e0a800;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
    background: #000;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    color: white;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.slide-desc {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

.slide.active .slide-title {
    animation: fadeInUp 0.8s ease backwards;
}

.slide.active .slide-desc {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.slide.active .cta-button {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }

    .slide-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .slide-desc {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* 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;
}

.search-button:hover {
    background: #1d4ed8;
}