/* Blog Page Styles */
:root {
    --primary-color: #E53935;
    --secondary-color: #0b2f4c;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

/* Header Strip */
.header-strip {
    background: linear-gradient(135deg, #0b2f4c 0%, #0b2f4c 100%);
    padding: 110px 0 0px 0;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    border-bottom: 2px solid #ea2c3b;
}


.category-label {
    display: inline-block;
    background: #ea2c3b;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.blog-meta {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ea2c3b;
}

.blog-meta span {
    margin: 0 10px;
}

.blog-meta i {
    margin-right: 5px;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    margin-bottom: 30px;
}

.blog-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    position: relative;
    min-height: 100vh;
}

/* Blog Main Content */
.blog-main {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgb(242 119 120);
    border: 1px solid #ea2c3b;
}

.blog-section {
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.blog-section:last-child {
    border-bottom: none;
}

.blog-section h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-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(--primary-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(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.detail-card p {
    color: var(--primary-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(--primary-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(--primary-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(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--secondary-color);
    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(--primary-color);
}

.process-step {
    position: relative;
    margin-bottom: 30px;
    width: 50%;
    padding: 19px 9px;
    border: 2px solid #ea2c3b;
}

.process-step:nth-child(odd) {
    margin-left: auto;
}

.step-number {
    position: absolute;
    top: 0;
    left: -15px;
    width: 30px;
    height: 30px;
    background: var(--primary-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(--secondary-color);
    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: 12px;
    padding: 30px;
    box-shadow: 0 2px 20px rgb(255 244 221);
    border: 1px solid #ea2c3b;
}

/* Course Highlights Widget */
.sidebar-widget.course-highlights {
    margin-bottom: 20px;
}

/* Enquiry Form Widget */
.sidebar-widget.enquiry-form {
    position: -webkit-sticky;
    position: sticky;
    top: 150px;
    z-index: 100;
    background: white;
}

.sidebar-widget h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    padding: 12px 0;
    color: var(--text-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.highlight-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2rem;
}

.contact-info p {
    margin: 15px 0;
    color: var(--text-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.brochure-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--secondary-color);
    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: 0;
}

.demo-btn,
.call-btn,
.apply-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(45deg, #ea2c3b, #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, #ea2c3b);
    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 350px;
    }
}

@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: 90px 0 20px 0;
    }

    .header-title {
        font-size: 2rem;
    }

    .blog-section {
        padding: 15px 20px;
    }

    .blog-section h2 {
        font-size: 1.8rem;
    }

    .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.8rem;
    }

    .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;
    }
}