/* ==============================================
          About Us Page Specific Styles
          ============================================== */

/* --- General Section Styling --- */
.page-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-family: 'PinarBold', sans-serif;
        font-size: 2.5rem;
        color: var(--text-color);
        margin-bottom: 15px;
    }

.section-title p {
        font-size: 1.1rem;
        color: var(--dark-gray-color);
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.8;
    }

/* --- Hero Section --- */
.about-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #34A853 0%, #1A73E8 100%);
    color: #ffffff;
    text-align: center;
}

    .about-hero h1 {
        font-family: 'PinarBold', sans-serif;
        font-size: 3.2rem;
        color: #ffffff;
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .about-hero p {
        font-size: 1.2rem;
        opacity: 0.95;
        max-width: 800px;
        margin: 0 auto;
    }

/* ==============================================
           REVISED TIMELINE STYLES (BASED ON FEEDBACK)
           ============================================== */
.new-timeline-wrapper {
    font-family: 'PinarRegular', sans-serif;
}

.new-timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

    /* The vertical line - Made slightly darker for better visibility */
    .new-timeline-container::after {
        content: '';
        position: absolute;
        width: 5px; /* Slightly thicker */
        background: linear-gradient(to bottom, var(--primary-color), var(--success-color)); /* Gradient background */
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2.5px; /* Adjust for thickness */
        z-index: 1;
    }

/* Timeline Item Container */
.new-timeline-item {
    padding: 20px 0; /* Increased padding for more vertical space */
    position: relative;
    width: 100%;
    display: flex;
    align-items: center; /* Vertically align items */
}

    /* Horizontal connector lines */
    .new-timeline-item::before {
        content: '';
        position: absolute;
        top: 50%;
        width: calc(50% - 55px); /* Length from center line to card edge */
        height: 2px;
        background-color: var(--medium-gray-color);
        z-index: 1;
        transform: translateY(-50%);
    }

    .new-timeline-item.item-left::before {
        right: 50%; /* Starts from center line */
        margin-right: 55px; /* Extends to the left */
    }

    .new-timeline-item.item-right::before {
        left: 50%; /* Starts from center line */
        margin-left: 55px; /* Extends to the right */
    }


    /* The circular icon on the timeline - Centered vertically */
    .new-timeline-item .item-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); /* Perfect vertical and horizontal centering */
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #fff;
        border: 3px solid; /* Color will be set by modifier class */
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        transition: transform 0.3s ease, border-color 0.3s ease; /* Added transition */
    }

        .new-timeline-item .item-icon:hover {
            transform: translate(-50%, -50%) scale(1.1); /* Scale on hover */
        }

/* The card content - Increased margin for more space from the icon */
.new-timeline-content {
    width: calc(50% - 55px); /* 50% minus new padding and icon radius */
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease; /* Added transitions */
}

    .new-timeline-content:hover {
        transform: translateY(-5px); /* Lift effect on hover */
        box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
    }

/* Positioning items left and right */
.new-timeline-item.item-left {
    justify-content: flex-start;
}

.new-timeline-item.item-right {
    justify-content: flex-end;
}

.new-timeline-item.item-left .new-timeline-content {
    margin-left: 55px; /* Increased margin */
    border-right: 4px solid; /* Colored border on the right */
}

.new-timeline-item.item-right .new-timeline-content {
    margin-right: 55px; /* Increased margin */
    border-left: 4px solid; /* Colored border on the left */
}

/* Content inside the card */
.card-text-content {
    padding: 20px;
    flex-grow: 1;
}

    .card-text-content h4 {
        font-family: 'PinarBold', sans-serif;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .card-text-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: var(--dark-gray-color);
    }

/* Date section with abstract pattern */
.card-date-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
    position: relative; /* Needed for pseudo-element */
    overflow: hidden; /* Needed for pseudo-element */
    flex-shrink: 0; /* Prevent shrinking */
}
    /* Abstract pattern pseudo-element */
    .card-date-content::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -50px;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
        transition: transform 0.5s ease;
    }

.new-timeline-content:hover .card-date-content::before {
    transform: scale(1.5);
}


/* Alternating layout for card content */
.new-timeline-item.item-right .new-timeline-content {
    flex-direction: row-reverse;
}

/* Color modifiers */
.color-purple .item-icon {
    border-color: #8e44ad;
    color: #8e44ad;
}

.color-purple .card-date-content {
    background-color: #8e44ad;
}

.new-timeline-item.item-left.color-purple .new-timeline-content {
    border-right-color: #8e44ad;
}

.new-timeline-item.item-right.color-purple .new-timeline-content {
    border-left-color: #8e44ad;
}

.color-blue .item-icon {
    border-color: #2980b9;
    color: #2980b9;
}

.color-blue .card-date-content {
    background-color: #2980b9;
}

.new-timeline-item.item-left.color-blue .new-timeline-content {
    border-right-color: #2980b9;
}

.new-timeline-item.item-right.color-blue .new-timeline-content {
    border-left-color: #2980b9;
}

.color-green .item-icon {
    border-color: #27ae60;
    color: #27ae60;
}

.color-green .card-date-content {
    background-color: #27ae60;
}

.new-timeline-item.item-left.color-green .new-timeline-content {
    border-right-color: #27ae60;
}

.new-timeline-item.item-right.color-green .new-timeline-content {
    border-left-color: #27ae60;
}

.color-orange .item-icon {
    border-color: #f39c12;
    color: #f39c12;
}

.color-orange .card-date-content {
    background-color: #f39c12;
}

.new-timeline-item.item-left.color-orange .new-timeline-content {
    border-right-color: #f39c12;
}

.new-timeline-item.item-right.color-orange .new-timeline-content {
    border-left-color: #f39c12;
}

.color-red .item-icon {
    border-color: #c0392b;
    color: #c0392b;
}

.color-red .card-date-content {
    background-color: #c0392b;
}

.new-timeline-item.item-left.color-red .new-timeline-content {
    border-right-color: #c0392b;
}

.new-timeline-item.item-right.color-red .new-timeline-content {
    border-left-color: #c0392b;
}

/* Responsive Design for Timeline */
@media (max-width: 992px) {
    .new-timeline-container::after {
        left: 25px; /* Move line to the left */
        margin-left: 0;
    }

    .new-timeline-item {
        padding: 10px 0;
        padding-left: 70px; /* Make space for line and icon */
        width: 100%;
        align-items: flex-start;
    }
        /* Adjust horizontal connector for mobile */
        .new-timeline-item::before {
            left: 25px; /* Aligns with vertical line */
            width: 45px; /* Fixed length for mobile */
            margin-left: 0;
            transform: translateY(-50%);
        }

        .new-timeline-item.item-left::before {
            right: auto; /* Override desktop positioning */
        }

        .new-timeline-item.item-right::before {
            left: 25px; /* Keep it on the left for all items on mobile */
            margin-left: 0;
        }

        .new-timeline-item .item-icon {
            left: 25px; /* Align icon with the line */
            top: 20px; /* Position icon near the top of the card */
            transform: translateX(-50%); /* Only horizontal centering */
        }

    .new-timeline-content {
        width: 100%;
        margin: 0 !important;
        border-left: 4px solid; /* Ensure border is always on the left for mobile */
        border-right: none !important; /* Remove right border for mobile */
    }
    /* Ensure mobile specific border colors */
    .new-timeline-item.color-purple .new-timeline-content {
        border-left-color: #8e44ad;
    }

    .new-timeline-item.color-blue .new-timeline-content {
        border-left-color: #2980b9;
    }

    .new-timeline-item.color-green .new-timeline-content {
        border-left-color: #27ae60;
    }

    .new-timeline-item.color-orange .new-timeline-content {
        border-left-color: #f39c12;
    }

    .new-timeline-item.color-red .new-timeline-content {
        border-left-color: #c0392b;
    }

    .new-timeline-item.item-right .new-timeline-content {
        flex-direction: row; /* Keep content direction normal on mobile */
    }
}
/* --- END OF NEW TIMELINE STYLES --- */


/* --- Stats Section --- */
.stats-section {
    background-color: var(--light-gray-color);
}

.hero-numbers-card {
    background-color: var(--component-bg-color);
    border: 1px solid var(--medium-gray-color);
    border-radius: 12px;
    padding: 40px;
}

    .hero-numbers-card .numbers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }

    .hero-numbers-card .number-item {
        text-align: center;
    }

        .hero-numbers-card .number-item .svg-icon {
            font-size: 40px;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

    .hero-numbers-card .number-item-value {
        font-family: 'PinarBold', sans-serif;
        font-size: 2.8rem;
        color: var(--text-color);
    }

    .hero-numbers-card .number-item-label {
        font-size: 1.1rem;
        color: var(--dark-gray-color);
    }
    /* NEW: Added description for stats */
    .hero-numbers-card .number-item-description {
        font-size: 0.9rem;
        color: var(--dark-gray-color);
        margin-top: 5px;
        line-height: 1.5;
    }

/* --- Team Section --- */
.team-section {
    background-color: #fff;
}

.team-category-title {
    text-align: center;
    font-family: 'PinarBold', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 50px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

    .team-category-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 4px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}

.team-card {
    background-color: var(--component-bg-color);
    border-radius: 12px;
    text-align: right;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
    overflow: hidden;
    position: relative;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

    .team-card:hover {
        transform: translateY(-10px);
    }

.team-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.team-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 20px;
}

.team-card-info {
    flex-grow: 1;
}

.team-card h5 {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
}

.team-card .team-member-handle {
    font-size: 1rem;
    color: var(--dark-gray-color);
}

.team-card-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 25px;
    flex-grow: 1;
}

.team-card-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--medium-gray-color);
    margin-top: auto;
}

.team-card-stat-item .stat-value {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.2rem;
    display: block;
}

.team-card-stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray-color);
}

/* --- Honors Section --- */
.honors-section {
    background-color: #f8f9fa;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.honor-item {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .honor-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .honor-item .svg-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .honor-item h4 {
        font-family: 'PinarBold', sans-serif;
        font-size: 1.2rem;
        margin: 0;
        color: var(--text-color);
    }

    .honor-item.startup .svg-icon {
        color: #F9AB00;
    }

    .honor-item.hackathon .svg-icon {
        color: #D93025;
    }

    .honor-item.guild .svg-icon {
        color: #4285F4;
    }

    .honor-item.license .svg-icon {
        color: #34A853;
    }

/* NEW: Customers/Trust Section */
.customers-section {
    background-color: var(--component-bg-color);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
}

    .customers-grid img {
        max-width: 120px;
        height: auto;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }

        .customers-grid img:hover {
            opacity: 1;
        }

/* --- CTA Section (Join Us) --- */
.join-us-cta {
    background: linear-gradient(135deg, #34A853 0%, #1A73E8 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

    .join-us-cta h2 {
        font-size: 2.5rem;
        color: #fff;
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .join-us-cta p {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 30px;
    }

/* NEW: Glassy Button Style (Copied from contact-us.html) */
.btn-glass-effect {
    background-color: rgba(255, 255, 255, 0.2); /* White with transparency */
    color: #ffffff; /* White text */
    border: 1px solid rgba(255, 255, 255, 0.5); /* White border with transparency */
    backdrop-filter: blur(5px); /* The magic glass effect */
    -webkit-backdrop-filter: blur(5px); /* For Safari compatibility */
    font-size: 1.25rem; /* Match original button size */
    padding: 35px 45px; /* Match original button padding */
}

    .btn-glass-effect:hover {
        background-color: rgba(255, 255, 255, 0.3); /* Slightly less transparent on hover */
        color: #ffffff; /* Ensure text remains white on hover */
        border-color: rgba(255, 255, 255, 0.7); /* Slightly more opaque border on hover */
    }

/* --- Scroll Animation --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

    .scroll-animate.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* NEW: Vision and Mission Section Styles */
.vision-mission-section {
    background-color: var(--light-gray-color); /* A subtle background */
}

.vm-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 900px; /* Limit width for readability */
    margin: 0 auto;
}

.vm-card {
    background-color: var(--component-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .vm-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.vm-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.vm-vision-icon {
    background: linear-gradient(135deg, #1A73E8 0%, #4285F4 100%); /* Blue gradient */
}

.vm-mission-icon {
    background: linear-gradient(135deg, #34A853 0%, #4CAF50 100%); /* Green gradient */
}

.vm-text-content h3 {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.vm-text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray-color);
}

/* Responsive adjustments for this section if needed */
@media (max-width: 768px) {
    .vm-cards-container {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}
/* ==============================================
          Article Page Specific Styles (V4)
          ============================================== */

body {
    background-color: #f8f9fa;
}

/* --- Scroll Progress Bar --- */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    z-index: 2000;
    transition: width 0.1s;
}

/* --- Main Layout --- */
.article-page-wrapper {
    padding: 0 0 40px 0;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: flex-start;
    /* CHANGE 2: Added margin-top for spacing from header */
    margin-top: 40px;
}

.article-main-content {
    background-color: var(--component-bg-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray-color);
    overflow: hidden;
}

.article-sidebar {
    /* Sidebar is not sticky */
}

/* --- Article Header --- */
.article-header {
    padding: 40px;
    border-bottom: 1px solid var(--medium-gray-color);
}

.article-header .breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--dark-gray-color);
}

    .article-header .breadcrumb a {
        color: var(--primary-color);
    }

.article-title {
    font-family: 'PinarBold', sans-serif;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    font-size: 14px;
    color: var(--dark-gray-color);
}

.meta-item {
    display: flex;
    align-items: center;
}

    .meta-item i {
        margin-left: 8px;
        color: var(--primary-color);
    }

    .meta-item a {
        color: var(--dark-gray-color);
        font-weight: 600;
    }

.article-featured-image,
.article-featured-video {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
}

/* --- Like Button Styles --- */
.like-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-gray-color);
    border: 1px solid var(--medium-gray-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .like-button:hover, .like-button.liked {
        background-color: #ffe0e6;
        border-color: #ffb3c1;
        color: var(--error-color);
    }

    .like-button .like-icon {
        font-size: 18px;
    }

    .like-button .like-count {
        font-weight: 600;
        font-size: 14px;
    }

/* --- Collapsible Table of Contents (TOC) --- */
.toc-widget-main {
    padding: 20px;
    margin: 20px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray-color);
}

.widget-title {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    /* CHANGE 1: Border is now conditional */
    border-bottom: 2px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.toc-widget-main > .widget-title {
    margin-bottom: 0;
}

/* CHANGE 1: Border only shows when open */
.toc-widget-main.open .widget-title {
    border-bottom-color: var(--primary-color);
    padding-bottom: 10px;
}

.widget-title .toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.toc-widget-main.open .widget-title .toggle-icon {
    transform: rotate(180deg);
}

.toc-list-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
}

.toc-widget-main.open .toc-list-container {
    max-height: 1000px;
    padding-top: 15px;
}

.toc-list {
    list-style: none;
}

    .toc-list a {
        display: block;
        padding: 8px 0;
        color: var(--dark-gray-color);
        border-bottom: 1px solid var(--light-gray-color);
        transition: color 0.2s, padding-right 0.2s;
    }

        .toc-list a:hover, .toc-list a.active {
            color: var(--primary-hover-color);
        }

    .toc-list .toc-level-2 {
        padding-right: 20px;
    }

    .toc-list .toc-level-3 {
        padding-right: 40px;
        font-size: 0.9em;
    }

    .toc-list a.active {
        font-weight: bold;
    }


/* --- Article Body --- */
.article-body {
    padding: 0 30px 30px;
    color: var(--text-color);
}


/* --- In-text Lead Magnet --- */
.in-text-lead-magnet {
    background: linear-gradient(135deg, #eaf4ff, #f0fff4);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

    .in-text-lead-magnet h4 {
        font-family: 'PinarBold', sans-serif;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .in-text-lead-magnet p {
        font-size: 1rem;
        color: var(--dark-gray-color);
        margin-bottom: 20px;
    }

    .in-text-lead-magnet form {
        display: flex;
        gap: 10px;
        max-width: 450px;
        margin: 0 auto;
    }

    .in-text-lead-magnet .form-control {
        text-align: center;
    }

/* --- New Main Course CTA Block --- */
.main-course-cta {
    padding: 50px 40px;
    background: linear-gradient(135deg, #34A853 0%, #1A73E8 100%);
    color: #fff;
}

.custom-cta-box {
    text-align: center;
}

.cta-content h3 {
    font-family: 'PinarBold', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}
/* CHANGE 3: CTA Action Buttons */
.cta-action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

    .cta-action-buttons .btn {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .cta-action-buttons .btn-primary {
        background-color: #F9AB00;
        color: #212529;
        border-color: #F9AB00;
    }

        .cta-action-buttons .btn-primary:hover {
            background-color: #ffc107;
            color: #212529;
        }

    .cta-action-buttons .btn-secondary {
        background-color: transparent;
        color: #fff;
        border-color: #fff;
    }

        .cta-action-buttons .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }


/* --- Article End Actions (Like button container) --- */
.article-end-actions {
    padding: 40px 40px 10px;
    text-align: center;
    border-top: 1px solid var(--medium-gray-color);
}

    .article-end-actions p {
        margin-bottom: 15px;
        font-weight: 600;
    }

/* --- Author Bio --- */
.author-bio-box {
    display: flex;
    gap: 20px;
    padding: 40px;
    border-top: 1px solid var(--medium-gray-color);
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h5 {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.author-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Sidebar Widgets --- */
.sidebar-widget {
    background-color: var(--component-bg-color);
    border: 1px solid var(--medium-gray-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
}
/* CHANGE 5: New Sidebar CTA Button */
.sidebar-cta-button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

    .sidebar-cta-button:hover {
        color: white;
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    }

    .sidebar-cta-button i {
        margin-left: 10px;
    }

/* Course Widget */
.sidebar-course-widget .course-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.sidebar-course-widget .course-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.sidebar-course-widget .btn {
    width: 100%;
}

/* New Lead Magnet Widget */
.lead-magnet-widget-v2 .widget-ebook-cover {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.lead-magnet-widget-v2 p {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 15px;
}

.lead-magnet-widget-v2 .form-control {
    text-align: center;
    direction: ltr;
}

.lead-magnet-widget-v2 .btn {
    width: 100%;
}


/* --- Exit Intent Popup --- */
#exit-intent-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2100;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

    #exit-intent-popup.show {
        display: flex;
        opacity: 1;
    }

.exit-popup-content {
    background: #fff;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    text-align: center;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

#exit-intent-popup.show .exit-popup-content {
    transform: scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.exit-popup-content .popup-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.exit-popup-content h3 {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.exit-popup-content p {
    color: var(--dark-gray-color);
    margin-bottom: 25px;
}

.coupon-code {
    background-color: var(--light-gray-color);
    border: 2px dashed var(--primary-color);
    padding: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: inline-block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-header, .article-body {
        padding: 25px;
    }

    .toc-widget-main {
        margin: 0 25px;
    }

    .in-text-lead-magnet form {
        flex-direction: column;
    }

    .cta-action-buttons {
        flex-direction: column;
    }
}

/* FAQ section adjustments */
.faq-section .tosinso-accordion {
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.featured-posts-list {
    list-style: none;
}

.featured-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

    .featured-post-item:last-child {
        margin-bottom: 0;
    }

    .featured-post-item img {
        width: 70px;
        height: 50px;
        object-fit: cover;
        border-radius: 5px;
        flex-shrink: 0;
    }

    .featured-post-item .post-title {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
    }


.page-section.comments {
    padding: 40px;
    border-top: 1px solid var(--medium-gray-color);
}