* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    /* 6.25% = 1 px  */
    /* 62.5% = 1 rem =  10 px  */
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

html body {
    overflow-x: hidden !important;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
    font-size: 5rem !important;
    font-weight: normal;
    color: black !important;
}

h2 {
    font-size: 5rem !important;
    font-weight: 550;
    color: black !important;
}

h3 {
    font-size: 4rem !important;
    font-weight: normal;
    color: black !important;
}

h4 {
    font-size: 2rem !important;
    font-weight: normal;
    color: black !important;
}

h5 {
    font-size: 1rem !important;
    font-weight: normal;
    color: black !important;
}

h6 {
    font-size: .5rem !important;
    font-weight: normal;
    color: black !important;
}

P {
    font-size: 1.5rem !important;
    line-height: 25px;
    color: rgb(0, 0, 0) !important;
}

span {
    color: #006AFF !important;
    font-size: 1.5rem !important;
    font-weight: 550 !important;
}

ul {
    color: white !important;
}

li {
    font-size: 1.5rem;
    margin: 10px 0px;
}

.down-arrow {
    color: white !important;
    font-size: 1.3rem !important;
    position: absolute;
    right: 20px;
    top: 12px;
}

.down-arrow-2 {
    color: white !important;
    position: absolute;
    top: 12px;
    right: 5px;
    transition: all .5s ease;
}

.arrow-white {
    color: white;
    position: absolute;
    z-index: 99;
    top: 3px;
    right: 10px;
    font-size: 1.8rem;
}

.bg-gray {
    background-color: #F2F2F2;
}

.margin-tb {
    margin: 20px 0px;
}

.margin-tb-production-one {
    margin-bottom: 100px;
    margin-top: 150px;
}

.max-width {
    max-width: 85vw;
    margin: auto;
}

.green-horizontal {
    width: 50px;
    height: 5px;
    background: linear-gradient(90deg,
            rgba(0, 106, 255, 1) 0%,
            rgba(0, 38, 90, 1) 100%);
    margin: 0px 0px 20px 0px;
}

.production-max-width {
    max-width: 85vw;
    margin: 0 auto;
}

.production-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.production-left {
    width: 40%;
    position: relative;
}

.production-left h3 {
    padding: 20px 0px;
    font-size: 3rem !important;
}

.production-left h3 span {
    font-size: 3rem !important;
}

.production-left h2 {
    padding: 20px 0px;
    position: relative;
}

.production-left p {
    padding: 60px 0px 10px 0px;
    margin: 20px 0px;
}

/* For the categories */
.category {
    font-size: 5rem !important;
    position: absolute;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: translateY(0%);
    top: 50%;
}

/* For the currently active category */
.category.active {
    opacity: 1;
    transform: translateY(100%);
}

/* For the category sliding out */
.category.slideOut {
    opacity: 0;
    transform: translateY(-100%);
}

/* For the category sliding in */
.category.slideIn {
    opacity: 1;
    transform: translateY(0);
}

.production-right {
    position: relative;
    width: 50%;
    height: 500px;
    overflow: hidden;
    /* background-color: #006AFF; */
    border-radius: 25px;
}

/* Basic styles for the images */
.production-right img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* For the currently active image */
.production-right img.active {
    opacity: 1;
    transform: translateY(0);
}

/* For the image sliding out */
.production-right img.slideOut {
    opacity: 0;
    transform: translateY(-100%);
}

/* For the image sliding in */
.production-right img.slideIn {
    opacity: 1;
    transform: translateY(0);
}


/* Button styling */

.production-button-container {
    display: flex;
    gap: 30px;
    padding: 20px 0px;
}

.production-button-left {
    background-color: #006AFF;
    color: white;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.5rem;
    position: relative;
}

.production-button-left:hover {
    background-color: #0156cd;
}

.production-button-left:hover .down-arrow-2 {
    top: 15px;
}

.production-button-right {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #006AFF;
    font-size: 1rem;
}

.production-button-right span {
    font-weight: bold !important;
}

.production-button-right img {
    width: 10px;
    height: 10px;
}

/* black box boxes anitaion path svg  */

.black-section {
    background-color: black;
    padding: 50px 0px;

}

.container-fluid {
    display: none;
}

.black-section h3 {
    color: #ffffff !important;
}

.inner-black-section {
    display: flex;
    margin: 50px 0px;
    justify-content: space-between;
    width: 100%;
    width: 100%;
    /* Ensure the parent div takes full width */
    box-sizing: border-box;
    /* background-color: #f9b234; */

}

.boxes {
    display: flex;
    flex-direction: row;
    flex-direction: column;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.box {
    color: white !important;
    background: linear-gradient(to right, #06abb4, #044baf);
    padding: 10px 20px;
    text-align: center;
    font-size: 1.5rem !important;
    /* Adjusted for smaller screens */
    border-radius: 25px;
    cursor: pointer;
    flex: 1 1 30%;
    /* Allowing flexibility in box width */
    min-width: 120px;
    /* Ensuring the box doesn't get too small */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.box:hover {
    background: linear-gradient(to right, #044baf, #06abb4);
}

.black-sec-img {
    width: 40%;
    height: auto;
}


.animated-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0px;
    flex: 1 1 auto;
    box-sizing: border-box;
}

.animation-line {
    width: 150px;
    /* max-width: 300px; */
    height: 2px;
    opacity: 0;
}

.animation-line-left {
    background: linear-gradient(to right, #84d4ff, #006aff);
    transform-origin: left center;
    /* Ensure scaling starts from the left */
    animation: growShrink 3s ease-in-out infinite;
}

.animation-line-right {
    background: linear-gradient(to right, #84d4ff, #006aff);
    transform-origin: right center;
    /* Ensure scaling starts from the left */
    animation: growShrink 3s ease-in-out infinite;
}

@keyframes growShrink {
    0% {
        transform: scaleX(0);
        opacity: .2;
        height: 1px;
    }

    50% {
        transform: scaleX(0.67);
        opacity: .8;
        height: 1.5px;
    }

    100% {
        transform: scaleX(1);
        opacity: .3;
        height: 1px;
    }
}

.vertical-animation {
    display: none;
}

/* Detailed img and text section points plus minus  */

/* Detailed text img sec  */

.main-detailed {
    /* background-color: #bc2253; */
    display: flex;
    flex-direction: column;

}

.detailed-sec-heading {
    width: 100%;
    /* background-color: chocolate; */
    margin: 50px 0px;
}

.main-detailed-left-right {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.detailed-right-img-sec {
    /* background-color: #EDFF80; */
    display: flex;
    justify-content: right;
}

.detailed-right-img {
    height: 500px;
    width: 100%;
}

.detailed-right-img-sec img {
    transition: opacity 0.5s ease;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}


.detailed-text-sec {
    width: 40%;
    /* background-color: #006AFF; */
}

.row {
    /* background-color: #EDFF80; */
    border-bottom: 1px solid rgb(184, 184, 184);
    /* margin: 30px 0px; */
}

.detailed-title-and-img {
    display: flex;
    justify-content: space-between;
    /* background-color: chartreuse; */
    cursor: pointer;
    padding: 25px 0px;
}

.detailed-title-and-img h4 {
    font-weight: 550 !important;
}

.plus-minus-img img {
    height: 15px;
    width: 15px;
}

.detailed-text {
    /* margin: 10px 0px; */
    padding: 10px 0px;
    /* background-color: #006AFF; */
}

.detailed-text p {
    max-height: 0px;
    overflow: hidden;
}

.detailed-sec-below-para-img {
    height: 50vh;
}

/* production color ful section  */

.main-colorful {
    background-color: black;
}

.colorfull-main {
    padding: 50px 0px;
}

.colorfull-text {
    color: white !important;
}

/* .ag-format-container {
    width: 1142px;
    margin: 0 auto;
} */

.ag-courses_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 50px 0;

}

.ag-courses_item {
    -ms-flex-preferred-size: calc(33.33333% - 30px);
    flex-basis: calc(33.33333% - 30px);
    margin: 0 15px 30px;
    overflow: hidden;
    border-radius: 20px;

}

.ag-courses-item_link {
    display: block;
    padding: 30px 20px;
    background-color: #121212;
    overflow: hidden;
    position: relative;
    cursor: pointer;

}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
    text-decoration: none;
    color: #FFF;

}

.ag-courses-item_link:hover .ag-courses-item_bg {
    -webkit-transform: scale(10);
    -ms-transform: scale(10);
    transform: scale(2);
    width: 100%;
    height: 100%;
    border-radius: 0px;
}

.ag-courses-item_title {
    min-height: 87px;
    /* margin: 0 0 25px; */
    overflow: hidden;

    font-size: 2.2rem !important;
    color: #FFF;
    z-index: 2;
    position: relative;
}

.ag-courses-item_date-box {
    font-size: 1.5rem !important;
    color: #FFF;
    z-index: 2;
    position: relative;
    line-height: 30px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    /* Ensure the content does not overflow */
    transition: max-height 1.5s ease, opacity 1.5s ease;
}

.ag-courses_item:hover .ag-courses-item_date-box {
    max-height: 200px;
    /* Adjust this value to fit your content */
    opacity: 1;
}

.ag-courses-item_date {
    font-weight: bold;
    color: #f9b234;
    -webkit-transition: color .5s ease;
    -o-transition: color .5s ease;
    transition: color .1s ease
}

.ag-courses-item_bg {
    height: 30px;
    width: 30px;
    background: linear-gradient(to right, #006aff, #000000);
    z-index: 1;
    position: absolute;
    top: 1px;
    right: 0px;
    /* font-family: sans-serif; */
    border-radius: 50%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.ag-courses_item:hover .arrow-white {
    content: "\2197";
    /* Change Unicode character to ↗ */
    transform: rotate(-180deg);
    /* Optional: Rotate the arrow for a more dynamic effect */
    color: #ffffff;
    /* Optional: Change color on hover */
}

/* FAQS Section  */

.main-faq {
    margin-top: 100px;
    padding: 50px 0px;
    background-color: black;
}

.faq-heading {
    padding-bottom: 20px;
    margin-top: 50px;
    color: white !important;
}

.faq-columns {
    display: flex;
    gap: 20px;
}

.faq-column {
    flex: 1;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    font-weight: 600;
}

.faq-question img {
    width: 15px;
    height: 15px;
    padding-bottom: 30px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;

}

.faq-answer.open {
    max-height: 1000px;
    /* Temporary large value to trigger the transition */
    transition: max-height 0.3s ease-in;
}

.faq-answer p {
    line-height: 25px;
    font-size: 1.5rem !important;
    color: white !important;
    padding: 25px 0px;
}

/* .faq-item hr {
    margin: 20px 0px;
} */

.faq-span {
    color: rgb(255, 255, 255) !important;
    font-weight: lighter !important;
    font-size: 1.8rem !important;
    padding-bottom: 30px !important;
}


@media (max-width: 1320px) {
    .production-main {
        flex-direction: column;
    }

    .production-left {
        width: 100%;
    }

    .production-right {
        width: 100%;
    }

    .category {
        top: 45%;
        font-size: 4rem !important;
    }

}

@media (max-width: 1300px) {
    .detailed-right-img {
        height: 400px;
        width: 95%;
    }
}

@media (max-width: 1070px) {
    .fourth-main {
        width: 90%;
    }

    .faq-heading {
        width: 90%;
        margin: auto;
    }

    .faq-columns {
        width: 90%;
        margin: auto;
    }



    .black-sec-img {
        width: 30%;
    }

    .animation-line {
        width: 100px;
    }

}

@media (max-width: 992px) {
    h1 {
        font-size: 4rem !important;
        font-weight: normal;
        color: black !important;
    }

    h2 {
        font-size: 4rem !important;
        font-weight: normal;
        color: black !important;
    }

    h3 {
        font-size: 3.5rem !important;
        font-weight: normal;
        color: black !important;
    }

    h4 {
        font-size: 2rem !important;
        font-weight: normal;
        color: black !important;
    }

    h5 {
        font-size: 1rem !important;
        font-weight: normal;
        color: black !important;
    }

    h6 {
        font-size: .5rem !important;
        font-weight: normal;
        color: black !important;
    }

    P {
        font-size: 1.5rem !important;
        color: rgb(0, 0, 0) !important;
    }

    span {
        color: #006AFF !important;
        font-size: 1.5rem !important;
        font-weight: 550 !important;
    }

    .margin-tb {
        margin: 50px 0px;
    }

    .detailed-right-img-sec {
        display: none;
    }

    .detailed-sec-below-para-img {
        margin-bottom: 15px;
    }

    .detailed-text-sec {
        width: 100%;
    }

    /* color full  */

    .ag-courses_item {
        -ms-flex-preferred-size: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
    }

    .production-left p {
        /* top: 25px; */
        position: relative;
    }

    .production-left h2 {
        margin-bottom: 10px;
    }

    .ag-courses_item {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }

    .ag-courses-item_title {
        min-height: 72px;
        line-height: 1;
    }

    .ag-courses-item_link {
        padding: 22px 22px;
    }

    .ag-courses-item_date-box {
        font-size: 16px;
    }

    .faq-columns {
        flex-direction: column;
        gap: 5px;
    }

    .remove-hr {
        display: none;
    }

    .faq-answer span {
        font-size: 1.5rem !important;
    }

    .inner-black-section {
        flex-direction: column;
        position: relative;
        /* margin-top: -650px; */
    }

    .animated-box {
        display: none;
    }

    .black-sec-img {
        width: 100%;
        /* background-color: chartreuse; */
        margin: auto;
        padding: 20px 0px;
        position: relative;
        z-index: 2;
    }

    .box {
        position: relative;
        z-index: 999;
    }

    .category {
        top: 42%;
    }

}

@media (max-width: 768px) {

    .ag-format-container {
        width: 96%;
    }

    .category {
        top: 39%;
    }

}


@media (max-width: 556px) {
    h1 {
        font-size: 3rem !important;
        font-weight: normal;
        color: black !important;
    }

    h2 {
        font-size: 3rem !important;
        font-weight: normal;
        color: black !important;
    }

    h3 {
        font-size: 2.5rem !important;
        font-weight: normal;
        color: black !important;
        line-height: 35px;
    }

    h4 {
        font-size: 2rem !important;
        font-weight: normal;
        color: black !important;
    }

    h5 {
        font-size: 1rem !important;
        font-weight: normal;
        color: black !important;
    }

    h6 {
        font-size: .5rem !important;
        font-weight: normal;
        color: black !important;
    }

    P {
        font-size: 1.5rem !important;
        color: rgb(0, 0, 0) !important;
    }

    span {
        color: #006AFF !important;
        font-size: 1.5rem !important;
        font-weight: 550 !important;
    }

    li {
        font-size: 1.3rem !important;
    }

    .production-left p {
        padding: 0px 0px;

    }

    .margin-tb-production-one {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    .production-right {
        height: 350px;
    }

    .production-right img {
        height: fit-content;
    }

    .category {
        font-size: 2.8rem !important;
        top: 37%;
    }

    .ag-courses-item_title {
        font-size: 1.8rem !important;
    }

    .detailed-sec-below-para-img {
        height: auto;
        width: -webkit-fill-available;
    }

    .faq-question img {
        width: 15px;
        height: 15px;
        margin-left: 10px;
        padding-bottom: 50px;
    }

    .production-button-container {
        flex-direction: column;
    }

    .production-button-right {
        justify-content: center;
    }

}