 /* first section styling */
 .main-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.image-container {
    position: relative;
    width: 45%;
    min-width: 300px;
    height: 350px;
}

.color-box {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d12429;
    border-radius: 8px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.image-container img {
    position: absolute;
    top: 0;
    right: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.content-container {
    width: 55%;
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-container::before,
.content-container::after {
    content: "";
    position: absolute;
    background-color: #d12429;
}

.content-container::before {
    top: 0;
    right: 0;
    width: 60px;
    height: 3px;
    border-top-right-radius: 5px;
}

.content-container::after {
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    border-bottom-left-radius: 5px;
}

.content-container h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-container p {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color:#d12429;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #b71c1c;
}

@media (max-width: 768px) {
    .main-section {
        flex-direction: column;
        padding: 40px 15px;
    }

    .image-container,
    .content-container {
        width: 100%;
        height: auto;
    }

    .image-container {
        height: 250px;
        margin-bottom: 30px;
    }
}

/* first section styling ended */


/* second section styling */
.what-you-learn-modern {
    padding: 70px 20px;
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.learn-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.learn-title {
    font-size: 4.6rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.learn-description {
    font-size: 1.8rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.learn-grid li {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.learn-grid li:hover {
    transform: translateY(-4px);
}

.training-outline {
    padding: 70px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* training-outline section styling */
.outline-container {
    max-width: 900px;
    margin: 0 auto;
}

.outline-title {
    text-align: center;
    font-size: 4rem;
    color: #222;
    margin-bottom: 20px;
    position: relative;
}

.outline-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background-color: rgb(226, 29, 29);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.training-outline .accordion-item {
    border-left: 4px solid rgba(226, 29, 29, 0.3);
    transition: border-left 0.3s ease;
}

.training-outline .accordion-item:hover {
    border-left: 4px solid rgb(226, 29, 29);
}


.outline-intro {
    text-align: center;
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}



.accordion {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #333;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px 0 30px;
    /* no bottom padding when collapsed */
    font-size: 1.2rem;
    color: #444;
    line-height: 1.7;
    transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}

.accordion-body.open {
    max-height: 500px;
    /* big enough to fit the content */
    padding-bottom: 20px;
    /* restore padding when open */
}

/* training-outline section styling ended*/


/* faq styling */

/* FAQ section styling */
.faq-section {
    padding: 70px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 3px solid rgb(226, 29, 29, 0.2);
}

.faq-section .outline-title {
    color: #222;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 10px;
}

.faq-section .outline-intro {
    color: #555;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section .accordion-item {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid transparent;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: border-left-color 0.3s ease;
}

.faq-section .accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 20px;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-section .accordion-header.red-accent {
    border-left: 4px solid rgba(226, 29, 29, 0.4);
}

.faq-section .accordion-header:hover {
    background-color: #f9f9f9;
}

.faq-section .accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 1.3rem;
    color: #444;
    line-height: 1.6;
    transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}

.faq-section .accordion-body.open {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-section .icon {
    font-size: 1.6rem;
    color: rgb(226, 29, 29);
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* faq styling ended */