:root {
    --bg-deep: #f8fafc;
    --bg-secondary: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(226, 232, 240, 0.8);
    --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --accent-green: #059669;
    --accent-green-hover: #047857;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --shadow-subtle: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 30px 60px -12px rgba(5, 150, 105, 0.12);
    --matching-menu-footer-bg: #064e3b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(5, 150, 105, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    z-index: 1000;
    background: var(--matching-menu-footer-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.25);
    border-radius: 28px;
    padding: 14px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo-dot {
    width: 9px;
    height: 9px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #a7f3d0;
    font-weight: 500;
    font-size: 0.93rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 160px 20px 80px;
}

.swiper-container-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    filter: brightness(0.9) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(248, 250, 252, 0.96) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.08);
    color: var(--accent-green);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
    border: 1px solid rgba(5, 150, 105, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.hero h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.hero h1 span {
    color: var(--accent-green);
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.0rem, 1.8vw, 1.15rem);
    max-width: 600px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-graphic-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.animated-diagram {
    position: relative;
    width: 100%;
    max-width: 480px;
    animation: floatContainer 5s ease-in-out infinite;
}

@keyframes floatContainer {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.8) 0%, rgba(16, 185, 129, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: particleAnimation 6s ease-in-out infinite;
}

.hero-particle.p1 { width: 60px; height: 60px; top: 10%; left: 5%; animation-delay: 0s; }
.hero-particle.p2 { width: 45px; height: 45px; bottom: 15%; right: 10%; animation-delay: 2s; }
.hero-particle.p3 { width: 35px; height: 35px; top: 50%; right: -5%; animation-delay: 4s; }

@keyframes particleAnimation {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(15px, -20px) scale(1.2); opacity: 1; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.25), inset 0 1px 0 rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.35);
}

/* Main Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 20px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Course Cards Grid & Handles */
.cards-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 20px 0;
}

@media (min-width: 1024px) {
    .cards-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 5%;
        right: 5%;
        height: 0;
        border-top: 5px dashed var(--accent-green);
        z-index: 0;
        opacity: 0;
        transform: translateY(-50%) scaleX(0);
        transform-origin: center;
        animation: revealConnectingLine 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
        filter: drop-shadow(0 0 10px rgba(5, 150, 105, 0.6));
    }
}

@keyframes revealConnectingLine {
    0% { opacity: 0; transform: translateY(-50%) scaleX(0); }
    100% { opacity: 1; transform: translateY(-50%) scaleX(1); }
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 3px solid var(--accent-green);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #047857;
    box-shadow: 0 40px 90px -10px rgba(5, 150, 105, 0.45), inset 0 0 25px rgba(255, 255, 255, 0.95);
}

.card-handle-left::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 54px;
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid var(--accent-green);
    border-right: none;
    border-radius: 27px 0 0 27px;
    z-index: 3;
    box-shadow: -5px 0 14px rgba(5, 150, 105, 0.25);
}

.card-handle-right::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 54px;
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid var(--accent-green);
    border-left: none;
    border-radius: 0 27px 27px 0;
    z-index: 3;
    box-shadow: 5px 0 14px rgba(5, 150, 105, 0.25);
}

.card-img-wrapper {
    position: relative;
    height: 160px; 
    overflow: hidden;
    border-top-left-radius: 21px;
    border-top-right-radius: 21px;
    border-bottom: 3px solid var(--accent-green);
}

@keyframes continuousZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: continuousZoom 6s ease-in-out infinite alternate; 
}

.card-content {
    padding: 20px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    border-top: 2px solid rgba(5, 150, 105, 0.2);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.btn-buy {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.2);
}

.btn-buy:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
}

.contact-dev {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(5, 150, 105, 0.06);
    padding: 8px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--accent-green);
    font-weight: 600;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 60px;
}

.page-arrow {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-subtle);
}

.page-arrow:hover {
    background: var(--accent-green);
    color: #ffffff;
    border-color: var(--accent-green);
    transform: scale(1.1);
}

.page-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.page-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-dot:hover {
    background: #94a3b8;
}

.page-dot.active {
    background: var(--accent-green);
    transform: scale(1.5);
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.4);
}

/* Features & Benefits */
.features-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.feature-box {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-subtle), var(--glass-shine);
    padding: 36px;
    border-radius: 24px;
    height: 100%;
}

.feature-box h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--text-main);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 14px;
}

.feature-box ul {
    list-style: none;
}

.feature-box li {
    margin-bottom: 16px;
    font-size: 0.96rem;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.feature-box li i {
    color: var(--accent-green);
    margin-right: 14px;
    flex-shrink: 0;
}

/* About & Testimonials */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.bio-card {
    display: flex;
    gap: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-subtle), var(--glass-shine);
    padding: 24px;
    border-radius: 22px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5, 150, 105, 0.3);
}

.bio-card img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.bio-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.bio-info span {
    font-size: 0.82rem;
    color: var(--accent-green);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.bio-info p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer matching Nav background */
footer {
    background: var(--matching-menu-footer-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -20px 40px rgba(6, 78, 59, 0.2);
    padding: 60px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    list-style: none;
}

.footer-links a {
    color: #a7f3d0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-handle-left::before, .card-handle-right::after {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 12px 20px;
        width: 94%;
        top: 12px;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 78px;
        left: 4%;
        width: 92%;
        background: var(--matching-menu-footer-bg);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 30px 20px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 30px 60px rgba(6, 78, 59, 0.3);
        text-align: center;
        gap: 20px;
        z-index: 1001;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    .menu-toggle {
        display: flex;
    }
    .hero {
        padding-top: 140px;
    }
    .container {
        padding: 60px 16px;
    }
}


/* =========================================
   BLOG ARCHIVE / CATEGORY PAGE STYLES
   ========================================= */

.blog-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumbs & Title */
.breadcrumbs {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}
.breadcrumbs a {
    color: #888;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #333;
}
.breadcrumbs span {
    color: #444;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

/* Blog Posts List */
.blog-post {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid #eaeaea;
}
.blog-post.no-image {
    padding: 20px 0;
}

@media (max-width: 600px) {
    .blog-post {
        flex-direction: column;
    }
}

.post-thumbnail {
    flex: 0 0 320px;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    background-color: #ddd;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 10px;
}
.post-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}
.post-title a:hover {
    color: var(--accent-green);
}
.post-title.red-title a {
    color: #ef4444;
}

/* Post Meta (Badges, Author, Date) */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}
.cat-badge {
    padding: 3px 8px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.cat-green { background-color: #65a30d; }
.cat-yellow { background-color: #eab308; }
.cat-red { background-color: #dc2626; }
.cat-blue { background-color: #0ea5e9; }

.post-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}
.read-more {
    color: #888;
    text-decoration: underline;
}
.read-more:hover {
    color: #333;
}

/* Sidebar Styles */
.blog-sidebar {
    padding-top: 20px;
}
.sidebar-widget {
    margin-bottom: 40px;
}
.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.search-form {
    display: flex;
}
.search-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-right: none;
    outline: none;
    font-family: inherit;
}
.search-form button {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}
.search-form button:hover {
    background: #111;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li {
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}
.sidebar-list a {
    color: #444;
    text-decoration: none;
}
.sidebar-list a:hover {
    color: var(--accent-green);
}

.recent-comments-list li {
    color: #666;
}
.recent-comments-list a {
    color: #0ea5e9; /* Light blue matching screenshot */
}
.recent-comments-list a:hover {
    text-decoration: underline;
}


/* ==========================================================
   THEMEFOREST-GRADE COMMERCIAL BLOG ARCHIVE STYLING
   ========================================================== */

.commercial-blog-container {
    max-width: 1280px;
    margin: 130px auto 90px auto; /* Increased top margin from 40px to 130px to clear the fixed header */
    padding: 0 4%;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 45px;
}

@media (max-width: 1024px) {
    .commercial-blog-container {
        grid-template-columns: 1fr;
        margin-top: 110px; /* Adjusted for smaller screens if needed */
    }
}
/* Archive Header Box */
.archive-header-box {
    margin-bottom: 35px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 12px;
}
.breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--accent-green); }

.archive-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.archive-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

/* Articles Stack */
.articles-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pro-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-article-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.08);
}

@media (max-width: 768px) {
    .pro-article-card {
        flex-direction: column;
    }
}

/* Article Thumb */
.article-thumb {
    width: 300px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

@media (max-width: 768px) {
    .article-thumb { width: 100%; height: 220px; }
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pro-article-card:hover .article-thumb img {
    transform: scale(1.04);
}

/* Badges & Overlays */
.badge-pill {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.green-pill { background: #ffffff; color: #059669; }
.yellow-pill { background: #ffffff; color: #d97706; }
.red-pill { background: #ffffff; color: #dc2626; }
.blue-pill { background: #ffffff; color: #0284c7; }

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    z-index: 4;
    transition: all 0.2s;
}
.pro-article-card:hover .play-overlay { background: var(--accent-green); color: #fff; }

/* Article Body */
.article-body {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.article-body.full-width {
    padding: 30px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 10px;
}
.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-heading {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}
.article-heading a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}
.pro-article-card:hover .article-heading a { color: var(--accent-green); }
.article-heading.red-heading a { color: #dc2626; }

.article-snippet {
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}
.read-more-link:hover {
    color: var(--accent-green);
    gap: 10px;
}

/* Variants (Text-only cards with accent borders) */
.text-variant {
    border-left: 5px solid #cbd5e1;
}
.yellow-accent { border-left-color: #eab308; }
.red-accent { border-left-color: #ef4444; }


/* ==========================================================
   PROFESSIONAL STICKY SIDEBAR
   ========================================================== */
.sticky-sidebar-inner {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8fafc;
}

/* Search Form */
.pro-search-form {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.pro-search-form:focus-within {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.pro-search-form input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
}
.pro-search-form button {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.pro-search-form button:hover {
    background: var(--accent-green);
}

/* Link Lists (Recent Posts) */
.pro-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pro-link-list li {
    font-size: 0.9rem;
    line-height: 1.45;
}
.pro-link-list a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
}
.pro-link-list a:hover {
    color: var(--accent-green);
}

/* Comment List */
.pro-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pro-comment-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.4;
}
.pro-comment-list svg {
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 2px;
}
.pro-comment-list a {
    color: #0284c7;
    text-decoration: none;
}
.pro-comment-list a:hover {
    text-decoration: underline;
}

/* Archive List */
.pro-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pro-archive-list li a {
    display: flex;
    justify-content: space-between;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.pro-archive-list li a:hover {
    color: var(--accent-green);
}
.pro-archive-list span {
    color: #94a3b8;
    font-size: 0.82rem;
}

/* ==========================================================
   SINGLE POST STYLING ADDITIONS
   ========================================================== */

.single-post-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .single-post-wrapper { padding: 25px; }
}

.single-post-header {
    margin-bottom: 25px;
}

.single-post-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.single-featured-image {
    width: 100%;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .single-featured-image { height: 240px; }
}

.single-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post Body Typography */
.single-post-body {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-post-body p {
    margin-bottom: 22px;
}

.lead-paragraph {
    font-size: 1.15rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.7;
}

.single-post-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 35px 0 15px 0;
}

.single-post-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 25px 0 12px 0;
}

.single-post-body ul {
    margin: 20px 0 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-post-body li {
    line-height: 1.6;
}

/* Pro Quote */
.pro-quote {
    background: #f8fafc;
    border-left: 4px solid var(--accent-green);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.pro-quote .quote-icon {
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 2px;
}
.pro-quote span {
    font-style: italic;
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.6;
}

/* Social Share Bar */
.social-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.share-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.9; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }

/* Author Bio Box */
.author-bio-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}
@media (max-width: 600px) {
    .author-bio-box { flex-direction: column; text-align: center; }
}
.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.author-info p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

/* Comments Section */
.comments-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.comment-notice {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.comment-form textarea,
.comment-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}
.comment-form textarea:focus,
.comment-form input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
}
.post-comment-btn {
    align-self: flex-start;
    padding: 12px 28px;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
}

/* ==========================================================
   ABOUT US PAGE STYLING ADDITIONS
   ========================================================== */

.about-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-section-block {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
}
.about-section-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-heading {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.mission-color { color: #059669; }
.vision-color { color: #0284c7; }

/* Owner Card Layout */
.owner-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .owner-card {
        flex-direction: column-reverse;
        text-align: center;
    }
}

.owner-text {
    flex: 1;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #334155;
}

.owner-text p {
    margin-bottom: 15px;
}

.ceo-title-tag {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.owner-contact-note {
    font-size: 0.92rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .owner-contact-note { justify-content: center; }
}
.owner-contact-note a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}
.owner-contact-note a:hover { text-decoration: underline; }

.owner-image-box {
    width: 180px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.owner-image-box img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.owner-image-box span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Blog Text Content */
.about-text-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.about-text-content a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
}
.about-text-content a:hover { text-decoration: underline; }

/* Mission & Vision Cards */
.mission-vision-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 25px 30px;
}
.mission-vision-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin: 0;
}

/* Promo Banner (ProxySeller Style) */
.about-promo-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid #334155;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .promo-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

.promo-tag {
    background: var(--accent-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 8px;
}

.promo-left h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.promo-left p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

.promo-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
@media (max-width: 768px) {
    .promo-right { align-items: center; }
}

.promo-brand-box {
    border: 2px dashed var(--accent-green);
    color: var(--accent-green);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 6px 16px;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.promo-discount {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* ==========================================================
   CONTACT US PAGE STYLING ADDITIONS
   ========================================================== */

.contact-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-lead-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-top: 10px;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.05);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.contact-details h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.contact-details a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: var(--accent-green);
}

/* Contact Form Section */
.contact-form-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
}

.contact-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.contact-form-notice {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 25px;
}

.contact-main-form .form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-main-form .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.contact-main-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-main-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.contact-main-form input,
.contact-main-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-main-form input:focus,
.contact-main-form textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}


/* ==========================================================
   PRIVACY POLICY PAGE STYLING ADDITIONS
   ========================================================== */

.policy-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.policy-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.policy-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 15px;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.policy-content p {
    margin: 0;
}

.policy-content ul {
    margin: 0 0 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-content li {
    line-height: 1.6;
}

.policy-content a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
}

.policy-content a:hover {
    text-decoration: underline;
}


/* Bulletproof fix for long unbroken titles (like "DGDGDGDEG" on Page 1) */
.commercial-blog-container,
.blog-feed,
.pro-sidebar {
    min-width: 0; /* Prevents grid tracks from expanding past the screen */
}

.article-heading,
.article-snippet,
.sidebar-box {
    overflow-wrap: break-word;
    word-break: break-word; /* Forces long unbroken words to wrap safely inside their container */
}
.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9); /* Solid white base with slight transparency */
    backdrop-filter: blur(8px); /* Frosted glass effect */
    padding: 6px 16px;
    border-radius: 50px; /* Creates the rounded pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft outer shadow */
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}