@charset "utf-8";
/* ==========================================================================
   Designed &amp; Maintained by : Digital Traffic Studios. - Blog Page Stylesheet
   ========================================================================== */

/* --- Root CSS Variables --- */
:root {
    --primary-blue: #293B7D; 
    --accent-red: #DD2727;
    --bg-white: #ffffff;
    --text-black: #1a1a1a;
    --text-gray: #555555;
    --bg-light-gray: #f9f9f9;
    --gradient-blue: linear-gradient(135deg, #293B7D 0%, #1a2550 100%);
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-light-gray); /* Slight off-white background for card contrast */
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* --- Header & Navigation (Carried from main_6.css) --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 10px 0;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0 auto; padding: 0 20px;
}

.logo img {
    width: 260px; height: auto; max-height: 80px; 
    object-fit: contain; transition: width 0.3s ease;
}

.nav-menu { display: flex; gap: 30px; }

.nav-menu li a {
    font-weight: 500; font-size: 16px;
    color: var(--text-black); transition: color 0.3s;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active-link {
    color: var(--primary-blue);
}

.nav-menu li a::after {
    content: ''; position: absolute;
    width: 0%; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--accent-red);
    transition: width 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active-link::after {
    width: 100%;
}

.hamburger { display: none; cursor: pointer; }
.hamburger .bar {
    display: block; width: 25px; height: 3px;
    margin: 5px auto; background-color: var(--text-black);
    transition: all 0.3s ease-in-out;
}

/* --- Breadcrumb & Page Hero --- */
.page-hero {
    margin-top: 90px; /* Offset for fixed header */
    background: var(--gradient-blue);
    padding: 120px 0;
    text-align: center;
    color: var(--bg-white);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
/*    background: url('../images/slider-blog.jpg?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.08;
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.breadcrumb a {
    color: #e2e8f0;
    transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--accent-red); }
.breadcrumb .separator { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: var(--bg-white); font-weight: 600; }

/* --- Blog Main Grid Section --- */
.blog-section { padding: 90px 0; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 15px; }
.section-title p { color: var(--text-gray); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* Grid Layout - 3 to 4 Cards per line naturally */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 35px;
}

/* --- Interactive Blog Card --- */
.blog-card {
    background-color: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid #eaeaea;
    cursor: pointer;
    text-decoration: none;
}

/* Raising Effect on Hover */
.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(41, 59, 125, 0.12);
    border-color: transparent;
}

.blog-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    position: relative;
}

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

/* Subtle image zoom on card hover */
.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

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

.blog-date {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 1.35rem;
    color: var(--primary-blue);
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--accent-red);
}

.blog-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: auto;
    transition: all 0.3s ease;
}

.blog-card:hover .read-more {
    color: var(--accent-red);
}

.blog-card:hover .read-more i {
    transform: translateX(6px);
}

/* --- Footer & Utilities (Carried from main_6.css) --- */
footer {
    background-color: var(--bg-white);
    padding: 70px 0 20px;
    border-top: 1px solid #eaeaea;
}

.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; margin-bottom: 40px;
}

.footer-col-1 .footer-logo { margin-bottom: 20px; height: 50px; width: auto; }

.footer-col h4 {
    color: var(--primary-blue); font-size: 1.2rem;
    margin-bottom: 20px; position: relative; padding-bottom: 10px;
}

.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 2px; background-color: var(--accent-red);
}

.footer-col p { color: var(--text-gray); font-size: 0.95rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-gray); transition: color 0.3s, padding-left 0.3s; }
.footer-links a:hover { color: var(--accent-red); padding-left: 5px; }

.contact-info li {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 15px; color: var(--text-gray);
}
.contact-info i { color: var(--primary-blue); font-size: 1.2rem; }

.footer-bottom {
    text-align: center; padding-top: 25px;
    border-top: 1px solid #eaeaea; color: var(--text-gray); font-size: 0.9rem;
}

.floating-whatsapp {
    position: fixed; bottom: 30px; left: 30px;
    background-color: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 35px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999; transition: transform 0.3s;
}

.floating-whatsapp:hover { transform: scale(1.1); }

#goTopBtn {
    display: none; position: fixed; bottom: 30px; right: 30px;
    background-color: var(--primary-blue); color: white;
    width: 50px; height: 50px; border-radius: 5px;
    border: none; cursor: pointer; font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999; transition: background-color 0.3s;
}

#goTopBtn:hover { background-color: var(--accent-red); }

/* --- Responsive Layout Configurations --- */
@media (max-width: 992px) {
    .page-hero h1 { font-size: 2.3rem; }
    /* Grid natively scales down via auto-fit minmax(310px) */
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed; left: -100%; top: 80px;
        flex-direction: column; background-color: var(--bg-white);
        width: 100%; text-align: center; transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05); padding: 20px 0;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 15px 0; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .blog-grid {
        grid-template-columns: 1fr; /* 1 column on mobile to force wrap down */
        gap: 25px;
    }
    
    .page-hero { padding: 40px 0; }
    .page-hero h1 { font-size: 2rem; }
    
    .floating-whatsapp { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 30px; }
    #goTopBtn { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}