/* ===== THEME SELECTOR DROPDOWN ===== */
.theme-select-minimal {
    appearance: none;
    background: rgba(15, 23, 42, 0.05);
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.theme-select-minimal:hover,
.theme-select-minimal:focus {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #fafafa;
    color: var(--secondary);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* === NAVBAR === */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--secondary-rgb), 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.4);
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.03em;
}

.brand-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-ghost {
    padding: 0.5rem 1.25rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 100px;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
}

.btn-primary-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.btn-secondary-lg {
    padding: 0.95rem 2.5rem;
    background: white;
    color: var(--secondary);
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary-lg:hover {
    background: #f1f5f9;
}

/* === MOBILE NAV === */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: var(--secondary);
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #f1f5f9;
    padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

#mobileNav.show {
    display: block;
}

/* === FOOTER === */
.footer {
    background: var(--secondary);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 3rem;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    background: var(--secondary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-social-btn:hover {
    background: var(--primary);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-newsletter-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.footer-newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.footer-newsletter-form button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}

.footer-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.5);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem 0;
    border-top: 1px solid var(--secondary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: white;
        border: 1.5px solid #e2e8f0;
        border-radius: 10px;
        width: 40px;
        height: 40px;
        color: var(--secondary);
        z-index: 1000;
    }

    .nav-container {
        padding: 0 1.25rem;
        height: 60px;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    /* Responsive tables */
    .admin-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        padding: 0 1.5rem;
        width: 100% !important;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter-section {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        padding: 2rem 1rem 0;
        width: 100% !important;
    }
}

.site-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

/* ===== INQUIRY / GET FREE QUOTE PAGE ===== */
.inq-header {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    padding: 5rem 1.5rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.inq-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--primary-rgb), 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(245,158,11,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.inq-header::after { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(var(--primary-rgb), .1) 0%, transparent 70%); pointer-events: none; }
.inq-title { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: white; line-height: 1.1; margin-bottom: 1rem; position: relative; z-index: 1; }
.inq-title span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.inq-sub { color: #94a3b8; font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.6; position: relative; z-index: 1; }

.inq-wrap { max-width: 1100px; margin: -4rem auto 5rem; padding: 0 1.5rem; position: relative; z-index: 5; display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem; align-items: start; }

/* Contact info cards — glass variant */
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.ccard {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255,255,255,0.8) inset;
    transition: transform 0.25s, box-shadow 0.25s;
}
.ccard:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.8) inset;
}
.ccard-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(var(--primary-rgb), .12); color: var(--primary); }
.ccard-title { font-weight: 700; color: var(--secondary); margin-bottom: .25rem; font-size: 1.05rem; }
.ccard-text { color: #64748b; font-size: .9rem; line-height: 1.5; }

/* Main form box — deep glass panel */
.inq-form-box {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 28px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255,255,255,1) inset;
    position: relative;
    overflow: hidden;
}
.inq-form-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.inq-form-title { font-size: 1.5rem; font-weight: 800; color: var(--secondary); margin-bottom: 1.5rem; font-family: 'Outfit', sans-serif; position: relative; z-index: 1; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: .82rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .05em; }
.form-control {
    width: 100%;
    background: rgba(248, 250, 252, 0.8);
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: .9rem 1.1rem;
    color: var(--secondary);
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    transition: all .25s;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
}
.form-control:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12);
}
.form-control::placeholder { color: #94a3b8; }
textarea.form-control { resize: vertical; min-height: 120px; }

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    padding: 1.1rem;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), .4);
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(var(--primary-rgb), .55); }

.success-msg { background: #22c55e; border: 1px solid #16a34a; color: #ffffff; padding: 1rem 1.25rem; border-radius: 12px; font-size: .9rem; font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25); }

.inq-privacy { text-align: center; font-size: .75rem; color: #94a3b8; margin-top: 1rem; font-weight: 500; position: relative; z-index: 1; }

@media (max-width: 850px) {
    .inq-wrap { grid-template-columns: 1fr; }
    .inq-header { padding: 4rem 1.5rem 6rem; }
}
@media (max-width: 500px) {
    .form-grid { grid-template-columns: 1fr; }
}

/* Layout Extras */
.brand-footer { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-footer .brand-text { color: white; }
.icon-inline-sm { display: inline; margin-right: 4px; }
.mobile-nav-cta { color: var(--primary) !important; font-weight: 700 !important; }
.footer-newsletter-msg { color: #94a3b8; font-size: 0.875rem; margin-bottom: 1rem; line-height: 1.6; }

/* Base Layout */
.frontend-body { margin: 0; padding: 0; overflow-x: hidden; width: 100%; }
.frontend-main { padding-top: 76px; }

/* ==========================================================================
   BLOG PAGE SPECIFIC STYLES
   ========================================================================== */
.blog-intro-section {
    padding: 70px 0;
    background: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.blog-intro-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-intro-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    display: inline-block;
    line-height: 1.4;
}

.blog-intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    font-weight: 500;
}

.blog-grid-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.blog-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-section-header .eyebrow-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.8px;
}

.blog-section-header p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Cards Grid */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card Layout */
.blog-post-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.blog-card-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #f1f5f9;
}

.blog-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-post-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 600;
}

.blog-card-meta .meta-date {
    color: #64748b;
}

.blog-card-meta .meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.blog-card-meta .meta-category {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.blog-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.blog-post-card:hover .blog-card-content h3 {
    color: var(--primary);
}

.blog-card-content p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: auto;
}

.blog-card-link svg {
    transition: transform 0.2s ease;
}

.blog-post-card:hover .blog-card-link {
    color: #1d3557;
}

.blog-post-card:hover .blog-card-link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   BLOG DETAILS PAGE SPECIFIC STYLES
   ========================================================================== */
.blog-detail-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.blog-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .blog-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.blog-detail-content-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.01);
}

@media (max-width: 575px) {
    .blog-detail-content-card {
        padding: 24px 20px;
    }
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 20px;
}

.blog-detail-meta .category-tag {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.blog-detail-content-card h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 25px;
    letter-spacing: -0.8px;
}

.blog-featured-media {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
}

.blog-featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

.article-rich-text {
    color: #334155;
    font-size: 16px;
    line-height: 1.8;
}

.article-rich-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.article-rich-text p {
    margin-bottom: 20px;
}

.article-rich-text ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-rich-text ul li {
    margin-bottom: 10px;
}

.article-blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 24px 30px;
    border-radius: 0 16px 16px 0;
    margin: 35px 0;
    font-style: italic;
    font-weight: 500;
    color: #475569;
}

/* Sidebar Widgets */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.01);
}

.sidebar-widget h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #f1f5f9;
    letter-spacing: -0.3px;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
}

.recent-post-thumb {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

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

.recent-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recent-post-info span {
    font-size: 12px;
    color: #94a3b8;
}

.recent-post-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
    transition: color 0.2s ease;
}

.recent-post-item:hover h4 {
    color: var(--primary);
}

/* Sidebar Call-To-Action Widget */
.sidebar-cta-widget {
    background: linear-gradient(135deg, rgba(15, 35, 65, 0.98), rgba(20, 55, 85, 0.95)), url('../../../images/frontend/armysolar/contantBg.jpg') center/cover no-repeat;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-cta-widget h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 750;
    margin-bottom: 12px;
}

.sidebar-cta-widget p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.sidebar-cta-widget .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   DOWNLOAD PAGE SPECIFIC STYLES
   ========================================================================== */
.download-page-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.download-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.download-tab-btn {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.download-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.download-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.download-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .download-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .download-cards-grid {
        grid-template-columns: 1fr;
    }
}

.download-doc-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.download-doc-media {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    background: #f1f5f9;
}

.download-doc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-doc-card:hover .download-doc-media img {
    transform: scale(1.06);
}

.download-doc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.download-doc-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
}

.download-doc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 22px;
}

.download-doc-meta .file-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 11px;
}

.btn-doc-download {
    width: fit-content;
    align-self: center;
    margin-top: auto;
    padding: 10px 24px;
    font-size: 13.5px;
}