/* Roboto Font Face Declarations */
@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    left: 0;
    right: 0;
}

/* Override any parent container padding for hero section */
body .hero-section,
#main .hero-section,
.site-main .hero-section,
.jupiterx-main .hero-section,
.container .hero-section,
.wrapper .hero-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* filter: brightness(0.4) blur(2px); */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* Tabs Section */
.tabs-section {
    background-color: #fff;
    padding: 40px 0;
}

.tabs-wrapper {
    width: 100%;
}

.tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: .5rem;
    background: #f3f4f69c;
    border-radius: 10px;
}

.tab-trigger {
    padding: .75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-trigger:hover {
    background-color: #3b82f680;
    color: #374151;
}

.tab-trigger.active {
    background-color: #2563eb;
    color: #fff;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.blog-card-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    background: #f2f5f8;
    width: 40%;
    padding: .2rem;
    border-radius: 50px;
    text-align: center;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 1rem 0rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title:hover {
    color: #0673e0;
}

.blog-card-description {
    font-size: 1rem;
    color: #737373;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6b7280;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-meta-item i {
    width: 16px;
    height: 16px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
    padding: 20px 0;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #2563eb;
    color: #2563eb;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn i {
    width: 16px;
    height: 16px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    background: #f9fafb;
    border-color: #2563eb;
    color: #2563eb;
}

.pagination-number.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    cursor: default;
}

.pagination-number.active:hover {
    background: #2563eb;
    color: #fff;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: #6b7280;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pagination-controls {
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }
    
    .pagination-btn span {
        display: none;
    }
    
    .pagination-number {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.8125rem;
    }
}

/* Loading and Empty States */
.loading-state,
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(358deg, #006219c7 0%, #01206b 100%);
    padding: 5rem 5rem;
    margin-top: 1rem;
    text-align: center;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    left: 0;
    right: 0;
}

/* Override any parent container padding for CTA section */
body .cta-section,
#main .cta-section,
.site-main .cta-section,
.jupiterx-main .cta-section,
.container .cta-section,
.wrapper .cta-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 5rem !important;
    padding-right: 5rem !important;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
    background-color: #233064;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button i {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .cta-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 3rem 2rem !important;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p, .post-cta p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .cta-button, .post-cta .cta-button {
        padding: .5rem 1rem;
    }

    .tabs-list {
        gap: 8px;
    }

    .tab-trigger {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 300px;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 2.5rem 1.5rem !important;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 1.25rem;
    }
}

/* Blog Post Page Styles */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 3rem 0rem;
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #fff !important;
    background-color: #1d4ed8 !important;
    transform: translateX(-4px);
    border-radius: 50px;
    padding: .5rem 1rem;
}

.back-button i {
    width: 20px;
    height: 20px;
}

.post-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: none;
}

.post-header .blog-card-category {
    width: auto;
    padding: .4rem 1rem;
    margin-bottom: 16px;
    display: inline-block;
}

.post-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.post-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 12px;
}

.post-meta {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0;
}

.post-meta-text {
    display: inline-block;
}

.post-featured-image {
    width: 100%;
    margin: 32px 0 40px;
    border-radius: 0;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.post-content {
    margin: 0 auto 40px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #111827;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.3;
}

.post-content h1 { font-size: 2.5rem; }
.post-content h2 { font-size: 2rem; }
.post-content h3 { font-size: 1.75rem; }
.post-content h4 { font-size: 1.5rem; }
.post-content h5 { font-size: 1.25rem; }
.post-content h6 { font-size: 1.125rem; }

.post-content p {
    margin-bottom: 1.5em;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #1d4ed8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.post-content blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 24px;
    margin: 2em 0;
    font-style: italic;
    color: #6b7280;
}

.post-content code {
    background-color: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.post-cta {
    margin: 10rem 0;
    padding: 40px;
    background: linear-gradient(358deg, #006219c7 0%, #01206b 100%);
    border-radius: 12px;
    text-align: center;
}

.post-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.post-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.post-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #233064;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-cta .cta-button:hover {
    transform: translateY(-2px);
}

.other-posts-section {
    background-color: #f2f5f84d;
    padding: 60px 0;
    margin-top: 60px;
}

.other-posts-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
}

@media (max-width: 768px) {
    .post-title, .other-posts-section h2 {
        font-size: 1.5rem;
    }

    .post-meta-text {
        line-height: 1.5;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content h1 { font-size: 2rem; }
    .post-content h2 { font-size: 1.75rem; }
    .post-content h3 { font-size: 1.5rem; }

    .post-cta {
        padding: 30px 20px;
    }

    .post-cta h3 {
        font-size: 1.5rem;
    }

    .other-posts-section h2 {
        font-size: 2rem;
    }
}

.jupiterx-main-content {
    padding: 0;
}

.wa__btn_popup {
    position: fixed !important;
    left: unset !important;
    right: 15px !important;
    bottom: 80px !important;
    z-index: 9999 !important;
}
