/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
xbody {
    font-family: sans-serif;
    background: #fafafa;
}

xp {
    font-family: sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

xa,
xa:hover,
xa:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #021a31!important;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 11.11px;
    background: #021a31!important;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 4px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #021a31!important;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: white;
}

ul.CTAs {
    padding: 10px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

/* ---------------------------------------------------
    UTILITY
----------------------------------------------------- */
.hs-navbar-outer {
    padding: 0;
}

.hs-tools-container {
    padding: 36px 16px;
}

/* ---------------------------------------------------
    MODERN NAVBAR
----------------------------------------------------- */
.hs-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    width: 100%;
}

.hs-navbar .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.hs-navbar .brand:hover {
    color: #d0d8e8;
    text-decoration: none;
}

.hs-navbar .powered-by {
    font-size: 12px;
    color: #9aabbf;
    letter-spacing: 0.3px;
}

.hs-navbar .user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
}

.hs-navbar .user-info:hover {
    color: #d0d8e8;
    text-decoration: none;
}

.hs-navbar .user-info small {
    font-size: 12px;
    color: #c0cfe0;
}

.hs-nav-home {
    color: #8aafc8;
    font-size: 15px;
    text-decoration: none;
    flex-shrink: 0;
}

.hs-nav-home:hover {
    color: white;
    text-decoration: none;
}

.hs-nav-label {
    color: #c0d4e8;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.hs-nav-context {
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}

.hs-nav-context a {
    color: #7ab3d4;
    font-size: 11px;
    font-weight: 400;
}

.hs-nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    min-width: 0;
}

.hs-nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Article modal header */
.article-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #e8ecf0;
}

.article-modal-header img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Progress modal */
.progress-modal-body {
    padding: 20px 24px;
}

.progress-modal-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-modal-img {
    width: 80px;
    border-radius: 8px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Text modal */
.text-modal-content {
    font-size: 0.98rem;
    padding: 10px;
    overflow-y: auto;
    margin: 20vh auto 0;
}

/* Article modal body */
.article-modal-body {
    padding: 5px;
    overflow-y: auto;
    margin: 8vh auto 0;
}

/* Grid layouts for content panels */
.articles-grid {
    display: grid;
    padding: 4px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.visuals-grid {
    display: grid;
    padding: 4px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 12px;
}

.videos-grid {
    display: grid;
    padding: 4px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

/* LinkedIn icon in tab button */
.linkedin-icon {
    height: 22px;
    vertical-align: middle;
}

/* Modal image preview */
.modal-img-preview {
    padding: 4px;
    max-width: 100%;
}

/* PPT panel (full-width when visible) */
.ppt-panel {
    width: 100%;
    height: 100%;
}

/* ---------------------------------------------------
    HERO SECTION
----------------------------------------------------- */
.hs-hero {
    background: linear-gradient(135deg, #021a31 0%, #0a3a6b 100%);
    color: white;
    padding: 40px 20px 32px;
    text-align: center;
}

.hs-hero h2 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.hs-hero p {
    color: #a8c4de;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ---------------------------------------------------
    TOOL CARDS (Home page)
----------------------------------------------------- */
.tool-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.tool-card {
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background: white;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 26, 49, 0.12);
    border-color: #c0d0e0;
}

.tool-card .tool-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.tool-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #021a31;
    margin-bottom: 6px;
}

.tool-card .card-text {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
}

/* ---------------------------------------------------
    VALUE PROP SECTION (Home page)
----------------------------------------------------- */
.hs-value-section {
    background: #f4f7fb;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid #e0e8f0;
}

.hs-value-section h4 {
    font-weight: 700;
    color: #021a31;
    margin-bottom: 12px;
}

.hs-value-section p {
    color: #4a6070;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* ---------------------------------------------------
    LOGIN PAGE
----------------------------------------------------- */
.hs-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #021a31 0%, #0a3a6b 100%);
    padding: 20px;
}

.hs-login-card {
    background: white;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 340px;
    text-align: center;
}

.hs-login-card .login-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.hs-login-card h4 {
    font-weight: 700;
    color: #021a31;
    margin-bottom: 4px;
}

.hs-login-card .login-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 28px;
}

.hs-login-card .divider {
    border: none;
    border-top: 1px solid #e8ecf0;
    margin: 20px 0;
}

.sign-in-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid #dde2e8;
    background: white;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.sign-in-btn:hover {
    background: #f5f8ff;
    border-color: #b0bec5;
    color: #111;
    text-decoration: none;
}

.sign-in-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}