/* ==========================================================================
   1. CORE LAYOUT & FONTS
   ========================================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
}

/* Centered Wrapper for all content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 80vh;
    box-sizing: border-box;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: #fff;
    position: -webkit-sticky; /* Support for Safari */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: block;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}


.nav-logo:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(0, 123, 255, 0.5));
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    background: linear-gradient(135deg, #007BFF, #00C2FF, #00FFAA);
    color: #fff;
    border-radius: 8px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #007BFF;
}

/* ==========================================================================
   3. TYPOGRAPHY & BUTTONS
   ========================================================================== */
.company-name {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    text-align: center;
    color: #222;
    transition: 0.3s;
}

.company-name:hover {
    background: linear-gradient(135deg, #007BFF, #00C2FF, #00FFAA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.description {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.6;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    color: white;
    background-color: #007BFF;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.4s;
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #007BFF, #00C2FF, #00FFAA);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.contact-btn.secondary {
    background: #444;
}

.contact-btn.secondary:hover {
    background: #000;
}

/* ==========================================================================
   4. PRODUCT SECTION & SLIDER
   ========================================================================== */
.product-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}

.product-image {
    flex: 1;
    max-width: 500px;
}

.product-description {
    flex: 1;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #fff;
}

.slides { height: 400px; display: flex; align-items: center; justify-content: center; }

.slide img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }

.slider-controls button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,123,255,0.8); color: white; border: none;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10;
}
.prev { left: 10px; } .next { right: 10px; }

/* ==========================================================================
   5. CONTACT & FORMS
   ========================================================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.info-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-card .card-icon {
    font-size: 24px;
    color: #007BFF;
    margin-right: 20px;
}

.info-card h3 {
    margin: 0;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
}

.info-card span {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #007BFF;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}

/* ==========================================================================
   5. CONTACT & FORMS (FINAL MOBILE ALIGNMENT)
   ========================================================================== */
.contact-flex-layout {
    display: flex;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    align-items: flex-start;
    padding: 0 20px; /* Ensures side spacing for the whole layout */
    box-sizing: border-box;
}

.form-wrapper {
    flex: 1.8;
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    box-sizing: border-box; /* Keeps padding inside the box */
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    text-align: left;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background: #fdfdfd;
    box-sizing: border-box;
}

/* --- Map and Sidebar --- */
.export-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.export-list {
    list-style: none; 
    padding: 0;
    margin: 15px 0 0 0;
}

.export-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;
}

.export-list li i {
    color: #007BFF; 
    font-size: 16px;
}

.map-container-small {
    width: 100%;
    height: 300px; /* Explicit height is required for iframes to show on mobile */
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #eee; /* Placeholder color while loading */
}

/* --- Mobile Responsiveness Strike --- */
@media (max-width: 850px) {
    .contact-flex-layout {
        flex-direction: column;
        padding: 0 15px; /* Aligns with the WhatsApp cards above */
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-wrapper {
        padding: 25px 20px; /* Tightened for mobile screens */
    }

    .export-sidebar {
        margin-top: 20px;
    }
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
    width: 100%;
    min-height: 80vh;
    background-color: #f4f4f4; /* Fallback color */
    /* We list the gradient first, then the image */
    background-image: 
        linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.7)), 
        url('/assets/images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Better for mobile performance than 'fixed' */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

.hero-main-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    cursor: pointer;
}

.hero-main-logo:hover {
    transform: scale(1.08);
    filter: brightness(1.2) drop-shadow(0 15px 30px rgba(0, 123, 255, 0.3));
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   7. FEATURES GRID
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    background: #fdfdfd;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.feature-card i {
    font-size: 40px;
    color: #007BFF;
    margin-bottom: 20px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* ==========================================================================
   8. FOOTER & GLOBAL
   ========================================================================== */
footer.footer {
    background: linear-gradient(to right, #007BFF, #00C2FF, #00FFAA);
    color: white;
    padding: 30px;
    text-align: center;
}

.whatsapp-float {
    position: fixed; bottom: 80px; right: 20px;
    background: #25D366; color: white; width: 50px; height: 50px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 2000; text-decoration: none;
}

/* ==========================================================================
   9. CONSOLIDATED RESPONSIVE (MOBILE FIXES)
   ========================================================================== */

@media (max-width: 900px) {
    .product-item { flex-direction: column; text-align: center; }
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
    
    body {
        overflow-x: clip; 
        position: relative;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
    }

    .main-content {
        padding: 100px 15px 20px 15px; 
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px; 
        flex-direction: column;
        background: #fff;
        width: 100%;
        height: calc(100vh - 80px);
        transition: 0.3s;
    }

    /* 2. Hamburger Menu Logic */
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        height: calc(100vh - 80px);
        gap: 0;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active { right: 0; }
    .nav-links a { padding: 20px; border-bottom: 1px solid #eee; width: 100%; box-sizing: border-box; }

    /* 3. Hero Mobile Fixes */
    .hero {
        min-height: 60vh;
        padding: 40px 15px;
    }

    .hero-main-logo {
        max-width: 220px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: center;
    }

    .hero-btns .contact-btn {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
        text-align: center;
    }

    /* 4. Features & Forms Fixes */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   MODAL & GHOST TEXT FIX
   ========================================================================== */
.image-zoom-modal {
    display: none;       /* Keep it out of the layout */
    visibility: hidden;  /* Extra safety against 'ghost' lines */
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

/* Ensure the cross and text inside the modal are never seen unless modal is open */
.close-zoom, #zoomedImg {
    visibility: inherit; 
}

/* When the JS triggers display: flex, make it visible */
#zoomModal[style*="display: flex"] {
    display: flex !important;
    visibility: visible !important;
}

/* ==========================================================================
   Product Page Specifics
   ========================================================================== */

.product-section {
    padding: 80px 0;
    border-bottom: 1px solid #f0f0f0;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-item {
    display: flex;
    align-items: flex-start; /* Better for varying text lengths */
    gap: 60px;
}

.product-title-wrapper h2 {
    font-size: 28px;
    color: #007BFF;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

/* --- Quick Category Ribbon --- */
.category-ribbon {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.cat-link {
    padding: 10px 18px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cat-link:hover {
    background: linear-gradient(135deg, #007BFF, #00C2FF);
    color: #fff;
    border-color: #007BFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.product-catalog-item {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

/* --- Mobile Logic --- */
@media (max-width: 900px) {
    .product-item {
        flex-direction: column; /* Stacked */
    }
    
    .product-image {
        order: 2; /* Image moves below title */
        width: 100%;
        max-width: 100%;
    }
    
    .product-description {
        order: 1; 
        text-align: left;
    }
}

@media (max-width: 768px) {
    .main-content, 
    .product-section, 
    .category-ribbon {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* --- Secondary Hero (Products Page) --- */
.hero.hero-small {
    min-height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6)), 
                url('/assets/images/hero-bg.webp'); /* Reuse or replace with industrial bg */
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero.hero-small .hero-title {
    color: #fff;
    font-size: clamp(26px, 5vw, 42px);
}

.hero.hero-small .hero-subtitle {
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* --- Industrial Info Grid (The Bangladesh/Indonesia text) --- */
.industrial-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
    text-align: left;
    border-left: 4px solid #007BFF;
    padding-left: 20px;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.industrial-info-grid h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.industrial-info-grid h3 i {
    color: #007BFF;
    margin-right: 8px;
}

.industrial-info-grid p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .industrial-info-grid {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }
    
    .hero.hero-small {
        min-height: 40vh;
    }
}



/* --- Related Articles Section --- */
.related-articles-section {
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.article-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.article-card .card-icon {
    font-size: 24px;
    color: #007BFF;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.article-card .card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.article-card span {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
    padding-right: 15px;
}

.article-card .arrow {
    color: #ccc;
    transition: all 0.3s ease;
    transform: translateX(0);
}

/* --- Hover Effects --- */
.article-card:hover {
    border-color: #007BFF;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}

.article-card:hover .card-icon {
    background: linear-gradient(135deg, #007BFF, #00C2FF);
    color: #fff;
}

.article-card:hover .arrow {
    color: #007BFF;
    transform: translateX(5px);
}

/* Responsive Tweak */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   UPDATED SLIM FOOTER
   ========================================================================== */
.site-footer {
    background: #1a1a1a; /* Dark, professional charcoal */
    color: #ffffff;
    padding: 15px 0;
    font-size: 14px;
    border-top: 3px solid #007BFF; /* Brand accent line */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-item a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: #00ffa2; /* Highlight on hover */
}

.footer-whatsapp i {
    color: #25D366;
    font-size: 18px;
}

.footer-contact i {
    color: #007BFF;
}

.footer-copyright p {
    margin: 0;
    opacity: 0.8;
}

/* --- Mobile Fix for Slim Footer --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack on mobile for readability */
        gap: 10px;
        text-align: center;
    }
    
    .site-footer {
        padding: 20px 0;
    }
}


/* --- 404 Error Page --- */
.error-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), 
                url('/assets/images/hero-bg.webp') !important;
    background-size: cover !important;
    background-position: center !important;
}

.text-center {
    text-align: center;
}

.error-icon {
    animation: wrench-wiggle 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes wrench-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.error-actions .contact-btn {
    min-width: 200px;
}

/* Ensure secondary buttons in 404 look distinct */
.contact-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.contact-btn.secondary:hover {
    background: #eee;
    border-color: #bbb;
}



/* --- Blog Archive Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #007BFF;
}

.blog-card-image {
    position: relative;
    height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #007BFF;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 1.4;
    color: #222;
}

.read-more {
    margin-top: auto;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 15px;
}



/* --- Individual Post Styling --- */
.post-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.breadcrumbs {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.breadcrumbs a { color: #007BFF; text-decoration: none; }

.post-header h1 {
    font-size: clamp(24px, 5vw, 42px);
    margin: 10px 0 20px 0;
    line-height: 1.2;
}

.post-meta { color: #666; font-size: 14px; margin-bottom: 30px; }

.post-featured-image {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

.post-content-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.post-content {
    flex: 2;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.post-content h2 { margin-top: 40px; color: #111; }

.post-sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background: #007BFF;
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.sidebar-cta .contact-btn {
    background: #fff;
    color: #007BFF;
    margin-top: 15px;
}

/* Mobile Tweak */
@media (max-width: 850px) {
    .post-content-wrapper { flex-direction: column; }
    .post-sidebar { width: 100%; position: static; }
}


/* --- Blog Archive Specifics --- */
.library-meta {
    margin-bottom: 30px;
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.library-meta hr {
    border: 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Ensure the grid is centered and responsive */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}


/* Styling for the new SVG icons */
.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Ensures the icon is white */
}

.whatsapp-float svg {
  fill: white;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}



/* 1. Make the card a reference point for the link */
.blog-card {
    position: relative; /* Essential for stretching the link */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* 2. Stretch the link to cover the entire card area */
.blog-card .main-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1; /* Makes this layer sit on top of everything in the card */
}

/* 3. Add a nice hover effect so users know the whole card is a button */
.blog-card:hover {
    transform: translateY(-5px); /* Card lifts up slightly */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-card:hover .read-more {
    color: #0056b3; /* Or your brand's primary color */
    text-decoration: underline;
}