*,
*::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;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    width: 100%;
    box-sizing: border-box;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 2.5rem;
}

.brand-logo {
    height: 44px;
    width: auto;
    max-width: 170px;
    display: block;
    object-fit: contain;
}

.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: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

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

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

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

.nav-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: 2rem;
}

.theme-selector-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.theme-select-minimal {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 32px;
    padding: 0 24px 0 10px;
    border-radius: 100px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    max-width: 112px;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1;
}

.theme-select-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 2;
    display: block;
}

.theme-select-minimal:hover {
    border-color: var(--primary);
    background-color: #ffffff;
    color: var(--secondary);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.12);
}

.theme-select-minimal:hover+.theme-select-arrow,
.theme-select-minimal:focus+.theme-select-arrow {
    color: var(--primary);
}

.theme-select-minimal:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.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-demo-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.52rem 1.15rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.16) 100%);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-demo-header:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.38);
    text-decoration: none;
}

.demo-header-icon {
    flex-shrink: 0;
}

.demo-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: demoPulseDot 2s infinite;
    flex-shrink: 0;
}

/* === NAVIGATION LOGIN BUTTONS === */
.btn-login-header {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.52rem 1.25rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.16) 100%);
    color: var(--primary) !important;
    border: 1.5px solid rgba(var(--primary-rgb), 0.38);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-login-header .login-header-icon {
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-login-header:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.35);
    text-decoration: none;
}

.btn-login-header:hover .login-header-icon {
    color: #ffffff;
    transform: translateX(2px);
}

.mobile-top-login-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.16) 100%);
    color: var(--primary) !important;
    border: 1.5px solid rgba(var(--primary-rgb), 0.38);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.1);
}

.mobile-top-login-btn svg {
    color: var(--primary);
    transition: color 0.2s ease;
}

.mobile-top-login-btn:hover,
.mobile-top-login-btn:active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
    text-decoration: none;
}

.mobile-top-login-btn:hover svg,
.mobile-top-login-btn:active svg {
    color: #ffffff;
}

@keyframes demoPulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.mobile-nav-demo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.16) 100%) !important;
    color: var(--primary) !important;
    border: 1.5px solid rgba(var(--primary-rgb), 0.35) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1) !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.mobile-nav-demo:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3) !important;
}

.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;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    color: var(--secondary, #0f2341);
    transition: all 0.25s ease;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    border-color: var(--primary, #f97316);
    background: #f8fafc;
}

.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--secondary, #0f2341);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scale(0.2);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 1rem 1.25rem 1.5rem;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.mobile-nav.show {
    display: block !important;
    animation: slideDownNav 0.25s ease forwards;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 0.85rem 0.5rem;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid #f8fafc;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary, #f97316);
    background-color: #fff7ed;
    padding-left: 0.85rem;
}

.mobile-theme-picker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1rem 0 0.25rem;
    padding: 0.75rem 0.65rem;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 10px;
    background: #f8fafc;
}

.mobile-theme-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    font-family: 'Outfit', sans-serif;
}

.mobile-theme-label svg {
    color: var(--primary);
}

.mobile-theme-wrap {
    max-width: 155px;
    width: 100%;
}

.mobile-drawer-select {
    max-width: 100%;
    width: 100%;
    height: 36px;
    font-size: 0.82rem;
    background-color: #ffffff;
    padding: 0 26px 0 10px;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.mobile-call-btn,
.mobile-quote-btn {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    box-sizing: border-box;
}

.mobile-call-btn {
    border: 1.5px solid #cbd5e1;
    color: #334155;
    background: #f8fafc;
}

.mobile-quote-btn {
    background: var(--primary, #f97316);
    color: #ffffff !important;
}

@keyframes slideDownNav {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === 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;*/
    grid-template-columns: 1.5fr 1fr 1fr;
    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: 1366px) and (min-width: 1181px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .brand {
        margin-right: 1.75rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .nav-actions-wrapper {
        margin-left: 1.25rem;
        gap: 0.6rem;
    }

    .btn-login-header {
        padding: 0.42rem 0.95rem;
        font-size: 0.82rem;
        gap: 5px;
    }
}

@media (max-width: 1180px) and (min-width: 1025px) {
    .nav-container {
        padding: 0 1.25rem;
    }

    .brand {
        margin-right: 1.25rem;
    }

    .brand-logo {
        height: 38px;
        max-width: 140px;
    }

    .nav-links {
        gap: 0.85rem;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .nav-actions-wrapper {
        margin-left: 0.85rem;
        gap: 0.45rem;
    }

    .theme-select-minimal {
        height: 30px;
        font-size: 0.74rem;
        padding: 0 20px 0 8px;
        max-width: 100px;
    }

    .theme-select-arrow {
        right: 7px;
    }

    .btn-ghost,
    .btn-primary {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
    }

    .btn-demo-header {
        padding: 0.38rem 0.8rem;
        font-size: 0.8rem;
        gap: 6px;
    }

    .btn-login-header {
        padding: 0.38rem 0.75rem;
        font-size: 0.78rem;
        gap: 5px;
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .brand {
        margin-right: 0 !important;
    }

    .nav-actions-wrapper {
        margin-left: auto !important;
        gap: 0.65rem;
    }

    .theme-select-minimal {
        height: 30px;
        font-size: 0.74rem;
        padding: 0 20px 0 8px;
        max-width: 98px;
    }

    .theme-select-arrow {
        right: 7px;
    }

    .mobile-top-login-btn {
        display: inline-flex !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

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

    .brand-logo {
        height: 40px;
        max-width: 150px;
    }

    .frontend-main {
        padding-top: 64px !important;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .nav-actions-wrapper {
        gap: 0.5rem;
    }

    .mobile-top-login-btn {
        height: 35px;
        padding: 0 11px;
        font-size: 0.78rem;
    }

    .theme-select-minimal {
        height: 29px;
        font-size: 0.72rem;
        padding: 0 19px 0 7px;
        max-width: 92px;
    }

    .theme-select-arrow {
        right: 6px;
    }

    .brand-logo {
        height: 36px;
        max-width: 135px;
    }

    .frontend-main {
        padding-top: 60px !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;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 56px;
        padding: 0 0.85rem;
    }

    .nav-actions-wrapper {
        gap: 0.35rem;
    }

    .mobile-top-login-btn {
        height: 32px;
        padding: 0 9px;
        font-size: 0.75rem;
        gap: 4px;
    }

    .theme-select-minimal {
        height: 28px;
        font-size: 0.7rem;
        padding: 0 18px 0 6px;
        max-width: 82px;
    }

    .theme-select-arrow {
        right: 5px;
        width: 9px;
        height: 9px;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }

    .brand-logo {
        height: 34px;
        max-width: 125px;
    }

    .frontend-main {
        padding-top: 56px !important;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    .nav-actions-wrapper {
        gap: 0.25rem;
    }

    .mobile-top-login-btn span {
        display: none;
    }

    .mobile-top-login-btn {
        padding: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .theme-select-minimal {
        max-width: 76px;
        font-size: 0.68rem;
        padding: 0 16px 0 4px;
    }

    .brand-logo {
        max-width: 105px;
    }
}

.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;
}

/* Brand logo */
.brand-logo {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    transition: all 0.25s ease;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    width: 48px;
    height: 48px;
    bottom: 30px;
    left: 30px;
    background-color: var(--secondary, #0f2341);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    outline: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary, #f97316);
    border-color: var(--primary, #f97316);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Global FAQ Component
   ========================================================================== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    width: 100%;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 700;
    color: var(--secondary, #0f172a);
    font-size: .95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    transition: color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.faq-q:hover {
    color: var(--primary, #f97316);
    background-color: #fafbfc;
}

.faq-q .icon {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 400;
    color: var(--primary, #f97316);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 1rem;
    display: inline-block;
}

.faq-a {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.7;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-top: 1px solid #f8fafc;
}

.faq-item.open {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .faq-q {
    color: var(--primary, #f97316);
}

.faq-item.open .faq-q .icon {
    transform: rotate(45deg);
}
