/* Blog Page Styles */
:root {
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

/* Header Strip */
.header-strip {
    background: linear-gradient(135deg, var(--primary-color-darker) 0%, var(--primary-color-darker) 100%);
    padding: 45px 0 30px 0;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--orange-color);
}

.contact-form {
    text-align: left;
    padding: 0 15px 10px 15px;
}

.category-label {
    display: inline-block;
    background: var(--orange-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.header-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.blog-meta {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--orange-color);
}

.blog-meta span {
    margin: 0 10px;
}

.blog-meta i {
    margin-right: 5px;
}

/* Main Container */
.main-container {
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    margin-bottom: 30px;
}

.blog-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    position: relative;
    min-height: 100vh;
}

/* Blog Main Content */
.blog-main {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--orange-color);
    border: 1px solid var(--orange-color);
}

.blog-section {
    padding: 0px 15px;
    border-bottom: 1px solid var(--border-color);
}

.blog-section:last-child {
    border-bottom: none;
}

.blog-section h2 {
    color: var(--primary-color-darker);
    font-size: 24px;
    font-weight: 600;
    margin: 15px 0;
}

.blog-section strong {
    font-weight: 700;
}

.blog-section h3 {
    color: var(--primary-color-darker);
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0;
}

.blog-section p {
    font-size: 1rem;
    text-align: justify;
}

.blog-section h2::after {
    background-color: #061e91;
    bottom: 0;
    left: 0;
    margin-right: auto;
    margin-top: 7px;
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FF8C00, #FFD700);
    border-radius: 2px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--orange-color);
    margin-bottom: 25px;
    border-radius: 2px;
}

.text-justify {
    text-align: justify;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.feature-list li:before {
    content: '✓';
    color: var(--orange-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Course Details Grid */
.course-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.detail-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    color: var(--primary-color-darker);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.detail-card p {
    color: var(--orange-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

/* Eligibility List */
.eligibility-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.eligibility-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

.eligibility-list li i {
    color: var(--orange-color);
    position: absolute;
    left: 0;
    top: 12px;
}

/* Curriculum Grid */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.curriculum-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--background-light-2);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.curriculum-item:hover {
    transform: translateX(5px);
}

.curriculum-item i {
    color: var(--orange-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--orange-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color-darker);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--orange-color);
}

.process-step {
    position: relative;
    margin-bottom: 30px;
    width: 50%;
    padding: 19px 9px;
    border: 2px solid var(--orange-color);
}

.process-step:nth-child(odd) {
    margin-left: auto;
}

.step-number {
    position: absolute;
    top: 0;
    left: -15px;
    width: 30px;
    height: 30px;
    background: var(--orange-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.process-step:nth-child(odd) .step-number {
    left: auto;
    right: -15px;
}

.process-step h3 {
    color: var(--primary-color-darker);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-color);
    margin: 0;
}

/* Blog Sidebar */
.blog-sidebar {
    position: relative;
    height: 100%;
    align-self: start;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 0px 0;
    box-shadow: 0 2px 4px 1px rgb(0 0 0 / 18%);
}

/* Course Highlights Widget */
.sidebar-widget.course-highlights {
    margin-bottom: 20px;
}

/* Enquiry Form Widget */
.sidebar-widget.enquiry-form {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    z-index: 100;
    background: white;
}

.sidebar-widget h3 {
    color: white;
    font-size: 24px;
    border-radius: 10px 10px 0px 0px;
    font-weight: 600;
    background: var(--primary-color-darker);
    text-align: center;
    padding: 4px;
}

.highlight-list {
    list-style: none;
    padding: 0 15px 10px 15px;
    margin: 0;
}

.highlight-list li {
    padding: 5px 0;
    color: var(--text-color);
    font-size: 0rem;
    display: flex;
    align-items: center;
}

.highlight-list a {
    padding: 5px 0;
    color: #23217c;
    font-size: 1rem;
    font-weight: 400;
    border-bottom: 1px solid var(--orange-color);
}

.highlight-list li i {
    color: var(--orange-color);
    margin-right: 12px;
    font-size: 1.2rem;
}

.contact-info p {
    margin: 15px 0;
    color: var(--text-color);
}


.brochure-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--primary-color-darker);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brochure-btn:hover {
    background: #1a4b6e;
    transform: translateY(-2px);
}

/* Enhanced CTA Buttons */
.cta-button {
    text-align: center;
    margin: 35px 0;
}

.demo-btn,
.call-btn,
.apply-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(45deg, var(--orange-color), #ff6b6b);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(234, 44, 59, 0.3);
    border: none;
    z-index: 1;
}

.demo-btn::before,
.call-btn::before,
.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.demo-btn::after,
.call-btn::after,
.apply-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    z-index: -1;
}

.demo-btn:hover,
.call-btn:hover,
.apply-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(234, 44, 59, 0.4);
    background: linear-gradient(45deg, #ff6b6b, var(--orange-color));
    letter-spacing: 2px;
}

.demo-btn:hover::before,
.call-btn:hover::before,
.apply-btn:hover::before {
    left: 100%;
}

.demo-btn:hover::after,
.call-btn:hover::after,
.apply-btn:hover::after {
    transform: scale(1);
}

.demo-btn:active,
.call-btn:active,
.apply-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(234, 44, 59, 0.3);
}

/* Button Focus Effect */
.demo-btn:focus,
.call-btn:focus,
.apply-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 44, 59, 0.3);
}

/* Button Loading Animation */
.demo-btn.loading,
.call-btn.loading,
.apply-btn.loading {
    position: relative;
    pointer-events: none;
}

.demo-btn.loading::before,
.call-btn.loading::before,
.apply-btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: button-loading 0.8s infinite linear;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-content {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 992px) {
    .blog-content {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        max-width: 600px;
        margin: 40px auto 0;
    }

    .sidebar-widget.enquiry-form {
        position: static;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        width: 100%;
        padding-left: 60px;
    }

    .process-step:nth-child(odd) {
        margin-left: 0;
    }

    .step-number {
        left: 15px;
    }

    .process-step:nth-child(odd) .step-number {
        left: 15px;
        right: auto;
    }

    .sidebar-widget {
        margin-bottom: 20px;
    }

    .sidebar-widget:last-of-type {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .header-strip {
        padding: 30px 0 40px 0;
        margin-bottom: 10px;
    }

    .header-title {
        font-size: 2rem;
    }

    .blog-section {
        padding: 0px;
    }

    .blog-section h2 {
        font-size: 1.2rem;
        margin: 10px 0;
    }

    .blog-section h3 {
        font-size: 1.1rem;
        margin: 10px 0;
    }


    .main-container {
        padding: 0 1px;
    }

    .text-justify {
        font-size: 1rem;
    }

    .course-details-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-widget {
        padding: 25px 20px;
    }

    .demo-btn,
    .call-btn,
    .apply-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.4rem;
        margin: 5px;
    }

    .blog-meta {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .blog-meta span {
        margin: 0;
    }

    .detail-card {
        padding: 20px 15px;
    }

    .demo-btn,
    .call-btn,
    .apply-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }

    .quill-rendered-content {
        width: 95%;
        margin: auto;
    }
}


.btmborder {
    width: 15%;
    height: 5px;
    color: #061e91;
    background-color: #ffb607;
    margin: 5px auto 20px auto;
}

.text-center {
    justify-self: center;
    display: flex;
}


/* Add styling for the author section */
.blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.125rem;
}

.author-linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #0a66c2;
    /* LinkedIn blue */
    transition: transform 0.2s ease-in-out;
}

.author-linkedin-icon:hover {
    transform: scale(1.1);
}

.author-linkedin-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.blog-main ul {
    list-style: none;
    padding: 0;
}

.blog-main ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.blog-main ul li::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    width: 4px;
    height: 12px;
    border: solid #007bff;
    border-width: 0 2px 3px 0;
    transform: rotate(45deg);
    /* Rotate to create the tick shape */
}

.text-center {
    margin-top: 10px;
}

/* ========================================
   Accordion/Syllabus Styles (from style.css)
   ======================================== */

/* Accordion Container - Two column layout */
.accordion-container {
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
    min-width: 300px;
}

/* Accordion Item - Individual card styling */
.accordion-item {
    border: 1px solid var(--primary-color);
    border-radius: 35px;
    margin-bottom: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Accordion Header - Clickable header */
.accordion-header {
    border: none;
    text-align: left;
    font-size: 1.08rem;
    font-weight: 400;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px !important;
    /* Force correct padding */
    cursor: pointer;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    /* For absolute positioning of arrow */
}

/* Reset margins for paragraphs inside header (caused by WYSIWYG) */
.accordion-header p {
    margin: 0;
    padding: 0;
    display: inline-block;
    padding-right: 30px;
    /* Prevent text from overlapping arrow */
}

/* Active/Expanded Accordion Header */
.accordion-item.active .accordion-header,
.accordion-item.expanded .accordion-header {
    background-color: var(--background-light);
    color: var(--primary-color);
}

/* Dropdown Icon - Arrow rotation animation */
.dropdown-icon,
.dropdown-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    position: absolute;
    /* Force arrow to the right */
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-item.expanded .dropdown-icon,
.accordion-item.expanded .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Accordion Content - Collapsible content area */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.accordion-item.expanded .accordion-content {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

/* Accordion Content Heading */
.accordion-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 20px 18px;
    color: #181818;
}

/* Accordion Content List Styling */
.accordion-content ul {
    list-style: none;
    padding: 0 20px 20px;
    margin: 0;
}

.accordion-content ul li {
    font-size: 1.08rem;
    color: #000;
    margin-bottom: 14px;
    position: relative;
    padding-left: 28px;
}

/* Checkmark bullet for list items */
.accordion-content ul li:before {
    /*content: '\2714';*/
    color: #23217c;
    /* Explicit Primary Color */
    font-family: Arial, sans-serif;
    /* Force standard font for consistent unicode rendering */
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.2;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .accordion-container {
        display: block;
    }

    .column {
        min-width: auto;
    }
}

/* Fix for unnecessary spaces from admin panel */
.accordion-container p:empty,
.accordion-content p:empty,
.blog-main p:empty {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
    line-height: 0;
}

.accordion-container {
    line-height: normal;
}

.accordion-content p {
    margin: 0;
    padding: 0;
}