.key-main h2{
        color: #ee161f;
    font-size: 32px;
    font-weight: 700;
}

.caterer-para {
    font-size: 2rem;
}


.key-about {
    background-color: #fff2f2;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    /* font-family: "Lora", serif; */
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s;
    /* border: 1px solid #188d40; */
}

.key-about:hover {
    transform: translateY(-5px);
}

.key-about h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9171f;
    padding-bottom: 5px;
    /* font-family: "Lora", serif; */
}

.key-links {
    background-color: #fff2f2;
    /* soft background */
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s;
    /* border: 1px solid #188d40; */
}

.key-links:hover {
    transform: translateY(-5px);
}

.key-links h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9171f;
    padding-bottom: 5px;
    /* font-family: "Lora", serif; */
}

.key-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-links ul li {
    margin: 0px 0;
}

.key-links ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.key-links ul li a:hover {
    background-color: #ffffff;
    border-left: 5px solid #e9171f;
    color: #000000;
    transform: translateX(5px);
}

.key-contact {
    background-color: #fff2f2;
    /* soft background */
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s;
    /* border: 1px solid #188d40; */
}

.key-contact:hover {
    transform: translateY(-5px);
}

.key-contact h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9171f;
    padding-bottom: 5px;
    /* font-family: "Lora", serif; */
}

.key-contact p a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.key-baner-div {
    width: 100%;
    height: 340px;
    margin-bottom: 30px;
}

.key-baner-div img {
    width: 100%;
    height: 340px;
    /* margin-bottom: 30px; */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.text-justify {
    text-align: justify;
}

.method-list {
    list-style: none;
    padding-left: 0rem !important;
        line-height: 2.5rem;
}

.method-list li i {
    color: #ee161f;
    padding-right: 20px;
}




/* Testimonial Section Styles */
/* .testimonial-section {
  background: #f9f5f0;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
} */

.testimonial-rating {
    text-align: center;
    margin: 10px 0;
}

.testimonial-rating i {
    font-size: 18px;
    color: #ccc;
    margin: 0 2px;
    color: #f4c150;
    /* gold */
}


.advantages {
    position: relative;
    background: url(../images/Keyword-img/testimonial.jpeg) no-repeat center;
    min-height: 350px;
    background-size: cover;
    overflow: hidden;
}

.advantages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 63%);
    /* light black layer */
    z-index: 1;
}

/* If you have content inside */
.advantages>* {
    position: relative;
    z-index: 2;
}


.section-title {
    font-size: 45px;
    color: #ffffff !important;
    margin-bottom: 40px;
    font-weight: 600;
}

.testimonial-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease;
}

.testimonial.active {
    display: flex;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #ffffff;
    margin-top: 20px;
}

.testimonial-text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 15px;
    font-style: italic;
    text-align: center;
}

.testimonial-name {
    font-weight: bold;
    color: #ffffff;
}

.test-para {
    color: #ffffff;
    font-size: 15px;
}

.testimonial-nav {
    position: absolute;
    top: 25%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.testimonial-nav span {
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    padding: 10px;
    transition: 0.3s;
}

.testimonial-nav span:hover {
    color: #ffffff;
}



/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* .faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #222;
} */

/* FAQ Item */
.faq-item {
    border-radius: 10px;
    margin-bottom: 15px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Question */
.faq-question {
    padding: 18px 22px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #ee161f;
    border-radius: 10px;
}

.faq-question:hover {
    background: #f9f9f9;
}

/* Icon */
.faq-question span {
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fafafa;
}

.faq-answer p {
    padding: 18px 22px;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}



/* Why choose css */
.card-s-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card-s {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid #ee161f;
}

.card-s:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.card-s-icon {
    background: linear-gradient(135deg, #EE161F, #8B0000);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: white;
}

.card-s h3 {
    font-size: 21px;
    margin-bottom: 15px;
    color: #000000;
    font-weight: 700;
}

.card-s p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}







.jee-benefits {
    background: #f8f9fc;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 40px;
    display: inline-block;
    margin-bottom: 15px;
    color: #ee161f;
}

.benefit-card h3 {
    font-size: 20px;
    color: #111827;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}




/* Table css */
.course-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.course-table th,
.course-table td {
    padding: 15px 20px;
    text-align: left;
}

.course-table th {
    background-color: #9d0406;
    color: #fff;
    font-size: 16px;
}

.course-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.course-table tr:hover {
    background-color: #e0e7ff;
    transition: 0.3s;
}

.course-table td {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {

    .course-table th,
    .course-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {

    .course-table,
    .course-table tr,
    .course-table th,
    .course-table td {
        /* display: block; */
        width: 100%;
    }

    .course-table th {
        text-align: left;
        padding-right: 20px;
    }

    .course-table td {
        text-align: left;
        padding-left: 20px;
        position: relative;
    }

    .course-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 20px;
        font-weight: bold;
        text-align: left;
    }
}

/* Table css end */




/* Mobile responsive */

@media screen and (max-width: 768px) {

    .key-baner-div img {
    width: 100%;
    height: auto;
}

.key-baner-div {
    width: 100%;
    height: auto;
}

.key-about {
    max-width: 100%;
}

.key-links {
    max-width: 100%;
}

.key-contact {
    max-width: 100%;
}
}


.dynamic-list a{
    color: #182333 !important;
}