body, html {
    margin: 0;
    padding: 0; 
    padding-top: 100px; 
    font-family: "Urbanist", sans-serif;
    background-color: #eef4f8;
}

* {
    font-family: "Urbanist", sans-serif;
}

.BOOK a {
    text-decoration: none;
    color: white;
}

/* =========================================
   2. NAVBAR STYLES
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(255, 255, 255);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    padding: 0 20px;
    z-index: 1000;
    box-sizing: border-box; 
}

.logo-container {
    display: flex;
    align-items: center;
}

#colab-logo {
    width: 150px;
    height: 100px;
    background: rgb(255, 255, 255);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-right: 80px;
    text-decoration: none;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
}

.nav-links a:hover {
    color: #4f82ae;
    font-size: 20px;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* =========================================
   3. ARTICLE SPECIFIC LAYOUT
   ========================================= */
.featured-article { 
    max-width: 900px; 
    margin: 60px auto; 
    padding: 0 20px; 
    min-height: 400px; 
}

.featured-header { 
    text-align: left; 
    margin-bottom: 40px; 
}

.featured-title { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 2.8rem; 
    font-weight: 800; 
    color: #444; 
    line-height: 1.2; 
    margin-bottom: 15px;
}

.featured-summary {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 30px;
}

.meta-left { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.author-name { 
    color: #8fa37d; 
    font-weight: 700; 
    font-size: 1.1rem; 
    text-transform: capitalize; 
}

.meta-label { 
    color: #999; 
    font-size: 0.9rem; 
}

.meta-right .publish-date {
    background: #f1f4f8;
    padding: 5px 15px;
    border-radius: 20px;
    color: #888;
    font-size: 0.9rem; 
    border: 1px solid #e0e6ed;
}

.article-render { 
    margin-top: 20px; 
}

.article-render p { 
    font-size: 1.15rem; 
    line-height: 1.8; 
    color: #444; 
    margin-bottom: 25px; 
}

.article-render img { 
    display: block;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 100%;
}

/* =========================================
   4. SLIDER SECTION
   ========================================= */
.previous-section { 
    background-color: #f1f4f8; 
    padding: 80px 0; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.card-slider { 
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    padding-bottom: 20px; 
    scrollbar-width: none; 
}

.article-card { 
    background: #fff; 
    border-radius: 15px; 
    min-width: 300px; 
    padding: 15px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); 
}

/* =========================================
   5. FOOTER STYLES
   ========================================= */
.sub-footer {
    background-color: white;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-top: 150px;
    padding: 50px 20px;
    gap: 40px;
    flex-wrap: wrap; 
}

.sub-footer img {
    width: 350px;
    height: 250px;
    object-fit: contain;
}

.sub-footer p {
    max-width: 500px;
    text-align: center;
}

.sub-footer h2 {
    border: solid black 1px;
    border-top: -50px;
    max-width: 500px;
}

.foot {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social {
    display: flex;
    margin-top: 20px;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.social-icon {
    font-size: 30px;
    color: #333;
    text-decoration: none;
}

.social-icon:hover {
    color: #007bff;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 80px;
    align-items: center;
    max-width: 500px;
    flex-wrap: wrap;
}

.mail {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    gap: 10px;
}

.mail img {
    width: 70px;
    height: 40px;
    display: flex;
}

.mail p {
    margin: 0;
    min-width: 200px;
    display: flex;
}

.colabcontact {
    display: flex;
    flex-direction: column;
    margin-left: 120px;
    margin-top: -70px;
}

footer {
    background-color: #3e73a0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    color: white;
    padding: 10px 0;
}

/* =========================================
   6. RESPONSIVE / MEDIA QUERIES
   ========================================= */

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .navbar {
        height: 70px;
        padding: 0 15px;
    }
    
    #colab-logo {
        width: 120px;
        height: 70px;
    }
    .colabcontact {
        margin-top: 0px;
        margin: 0px;
    }
    
    /* Mobile Navigation Slide-out */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 50px;
        margin-right: 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
        height: auto; 
        min-height: 300px;
        padding-bottom: 50px;
    }
    
    .nav-links li {
        font-size: 18px;
    }
    
    /* Hamburger Icon Animation */
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Footer Mobile Adjustments */
    .sub-footer {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }
    
    .sub-footer img {
        width: 250px;
        height: 180px;
    }
    
    .sub-footer p {
        width: 100%;
        font-size: 16px;
    }
    
    .contact {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .mail {
        max-width: 100%;
        justify-content: center;
    }
    
    .mail p {
        font-size: 14px;
        min-width: auto;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .navbar {
        height: 60px;
        padding: 0;
    }
    
    #colab-logo {
        width: 100px;
        height: 60px;
    }
    
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .sub-footer img {
        width: 200px;
        height: 150px;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .sub-footer {
        padding: 40px 20px;
    }
    
    .sub-footer img {
        width: 300px;
        height: 220px;
    }
    
    .nav-links {
        margin-right: 40px;
        gap: 20px;
    }
}