* {
    margin: 0;
    padding: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #040303;
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.Title {
    margin-top: 4rem;
    margin-left: 7rem;
    background-color: #040303;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.title-text {
    color: white;
    font-size: 180px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    word-wrap: break-word;

}

.dot {
    animation: fade 0.7s infinite;
}

@keyframes fade {
    from {
        opacity: 0%;
    }

    to {
        opacity: 110%;
    }
}

.sub-title {
    color: white;
    font-size: 30px;
    font-family: Geist Mono;
    font-weight: 400;
    word-wrap: break-word;
    margin-left: 20rem;
}

.scroll-arrow-container {
    display: flex;
    justify-content: center;
    margin-top: 6rem;
    margin-bottom: 6rem;
    background-color: #040303;
    padding: 2rem 0;
}

.bi-chevron-double-down {
    fill: #ffffff;
    font-weight: bold;
    width: 20px;
    height: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Recent Blogs Section */
.recent-blogs {
    background-color: #171414;
    margin-top: 2rem;
    padding: 6rem 8rem 8rem 8rem;
    display: flex;
    align-items: flex-start;
    gap: 12rem;
}

.recent-title {
    flex-shrink: 0;
    margin-top: 0;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.newsletter-sidebar {
    margin-top: 8rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.newsletter-sidebar h2 {
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.newsletter-sidebar .newsletter-sub {
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.newsletter-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.newsletter-sidebar-form input {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #333;
    background: #111;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-sidebar-form input:focus {
    border-color: #ccc;
}

.newsletter-sidebar-form button {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    background: white;
    color: #040303;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-sidebar-form button:hover {
    background: #ccc;
    transform: translateY(-2px);
}

.recent-title p {
    color: white;
    font-size: 80px;
    font-family: 'IBM Plex Mono', monospace;    
    font-weight: 500;
    white-space: nowrap;
    margin: 0;
    line-height: 0.9;
}

.recent-blog-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
    }

.recent-blog {
    border-bottom: 1px solid #222;
    padding-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recent-blog:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-blog:hover .recent-blog-title h2 {
    color: #cccccc;
}

.recent-blog-title {
    margin-bottom: 0.5rem;
}

.recent-blog-title h2 {
    color: white;
    font-family: IBM Plex Mono;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0;
    text-align: left;
    transition: color 0.2s ease;
}

.recent-blog-content {
    text-align: left;
}

.recent-blog-content p {
    color: #888;
    font-family: Inter;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    max-width: 550px;
}

/* Style for the "No recent blogs" message */
/* .no-blogs-message p {
    color: #FFD700;
    font-family: IBM Plex Mono, monospace;
    font-size: 1.2rem;
    text-align: center;
    margin: 2rem 0;
    background: rgba(23, 20, 20, 0.7);
    border-radius: 8px;
    padding: 1rem 0.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.view-all-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 2rem;
    width: 100%;
}

.view-all-button a {
    background: linear-gradient(90deg, #222 60%, #444 100%);
    color: #FFD700;
    font-family: IBM Plex Mono, monospace;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: none;
    outline: none;
    cursor: pointer;
}

.view-all-button a:hover {
    background: linear-gradient(90deg, #FFD700 0%, #222 100%);
    color: #222;
    transform: translateY(-2px) scale(1.04);
} */

.no-blogs-message {
    width: 500px;
    margin-top: 5rem;
    text-align: center;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-blogs-message p {
    color: #888;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    /* Add this to create space below the message */
}

.view-all-button {
    width: auto;
    display: flex;
    justify-content: center;
    margin-top: 0;
    /* Remove extra space above the button */
}

.view-all-button a {
    color: #ccc;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.view-all-button a:hover {
    background-color: #fff;
    color: #040303;
    border-color: #fff;
}

@media (max-width: 1200px) {
    .Title {
        margin-left: 4rem;
        padding: 3rem 0;
    }

    .title-text {
        font-size: 140px;
    }

    .sub-title {
        margin-left: 15rem;
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .Title {
        margin-left: 3rem;
        padding: 2.5rem 0;
    }

    .title-text {
        font-size: 120px;
    }

    .sub-title {
        margin-left: 12rem;
        font-size: 26px;
    }

    .recent-blogs {
        padding: 4rem 4rem;
        gap: 4rem;
    }

    .recent-title p {
        font-size: 60px;
    }
    
    .recent-title {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .Title {
        margin-left: 2rem;
        margin-right: 2rem;
        padding: 2rem 0;
        text-align: center;
    }

    .title-text {
        font-size: 80px;
    }

    .sub-title {
        margin-left: 0;
        text-align: center;
        font-size: 22px;
        margin-top: 1rem;
    }

    .scroll-arrow-container {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .recent-blogs {
        flex-direction: column;
        padding: 4rem 2rem 6rem 2rem;
        gap: 2rem;
    }

    .recent-title {
        margin-top: 0;
        text-align: center;
        max-width: 100%;
    }

    .newsletter-sidebar {
        margin-top: 4rem;
        text-align: left;
    }

    .recent-title p {
        font-size: 50px;
    }

    .recent-blog-container {
        padding-top: 1rem;
    }

    .recent-blog-title h2 {
        font-size: 1.2rem;
    }

    .recent-blog-content p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .Title {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.5rem 0;
    }

    .title-text {
        font-size: 48px;
        line-height: 1.1;
    }

    .sub-title {
        font-size: 18px;
        margin-top: 0.5rem;
    }

    .scroll-arrow-container {
        margin-top: 3rem;
        margin-bottom: 3rem;
        padding: 1rem 0;
    }

    .recent-blogs {
        padding: 2rem 1rem 4rem 1rem;
    }

    .recent-title p {
        font-size: 32px;
        line-height: 1.1;
    }

    .recent-blog-title h2 {
        font-size: 1.2rem;
    }

    .recent-blog-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Newsletter Section */
.newsletter-section {
    background-color: #040303;
    padding: 2rem 7rem 4rem 7rem;
    display: flex;
    justify-content: center;
}

.newsletter-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-text h2 {
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: #888;
    font-family: 'Inter', sans-serif;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    background: #111;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #ccc;
}

.newsletter-form button {
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    background: white;
    color: #040303;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #ccc;
    transform: translateY(-2px);
}

.newsletter-message {
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    min-height: 20px;
}

.newsletter-message.success {
    color: #4CAF50;
}

.newsletter-message.error {
    color: #ff4d4d;
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 2rem 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-text h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 2rem 1rem;
    }

    .newsletter-container {
        padding: 2rem 1rem;
    }

    .newsletter-form input, .newsletter-form button {
        width: 100%;
        box-sizing: border-box;
    }
}