.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}

.text-lg-left {
    text-align: center !important;
}

.single-items h3 {
    font-size: 1.6rem;
}

.area-heading.text-center.text-lg-left.wow.fadeInUp {
    margin-top: 45px;
}

#hero-sec {
    margin-top: 5%;
}

.area-title {
    text-align: center;
    border-width: 0px;
    margin: 0px;
    padding: 0px;
}

#hero-sub-h-f {

    font-family: Poppins, sans-serif;
    font-size: 35px;
    font-weight: 100;
    color: rgb(255, 255, 255);
}

#hero-sub-h-f {
    font-family: Poppins, sans-serif;
    font-size: 48px;
    font-weight: 100;
    color: rgb(255, 255, 255);
}

#hero-sub-h {
    color: white !important;
}

#form-sub-h {
    font-size: 28.8px !important;
    color: black;
}


@media screen and (max-width: 767px) {
    #form-bg-1 {
        background: #BCBCBE !important;
    }
}

.sap-program-content h3,
p,
h4 {
    color: black;

}

@media screen and (max-width: 767px) {

    .sap-program-content h3,
    p,
    h4 {
        text-align: center;

    }

    .small-heading {
        font-size: 25px !important;
    }

}

.row {
    display: flex;
    align-items: flex-start;
    /* justify-content: center; */
}

.services-list {
    color: white;
}

.bg-light {
    background-color: #ABABAD !important;
}

#social * {
    color: black !important;
}


/* Enhanced FAQ Accordion Styles */
.faq-accordion {
    background: transparent;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-question:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #2c3e50;
    transition: color 0.2s ease;
}

.faq-item.active .faq-question h4 {
    color: black;
}

.faq-toggle {
    color: black;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: max-height;
}

.answer-content {
    padding: 0 24px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Adjust based on your content */
}

.faq-item.active .answer-content {
    padding: 0 24px 20px;
    opacity: 1;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
    }

    .answer-content {
        padding: 0 20px;
    }

    .faq-item.active .answer-content {
        padding: 0 20px 16px;
    }
}


/* Tab Styling - Enhanced but keeping original classes */
.tab {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tab button.tablinks {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
}

.tab button.tablinks:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.tab button.tablinks.active {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
}

.tabcontent {
    display: none;
    animation: fadeEffect 0.5s;
    color: white;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.tabcontent.active {
    display: block;
}

.tabcontent h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.tabcontent p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.level-tag {
    display: inline-block;
    background: #4a6bff;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tab-image-container {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-image {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: cover;
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .tab {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .tab button.tablinks {
        white-space: nowrap;
        width: auto;
    }

    .col-md-3,
    .col-md-9 {
        width: 100%;
        padding: 0;
    }

    /* Tab Styling - Enhanced but keeping original classes */
    .tab {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.counter-card {
    border: double 4px transparent !important;
    border-radius: 50% !important;
    width: 300px !important;
    padding: 25px !important;
    display: inline-block !important;
    padding-right: 30px !important;
    transition: 0.8s ease !important;
}

.counter-card:hover p {
    color: #000 !important;
}

.return-sap-col h2,
h3,
h5,
p {
    color: white;
}


.sap-return-sec h2,
h4,
p {

    padding: 0px;
    margin: 0px;
}

.sap-retun-info-card {
    margin-bottom: 0px !important;
}

.return-sap-card {
    margin-top: 0px !important;
}

.single-items {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    /* Allow content height */
    overflow: hidden !important;
    background-position: center center !important;
    -webkit-background-size: cover !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    padding: 80px 0 !important;
    /* Optional spacing */
}

#home {
    padding: 0px 0 !important;
    /* Optional spacing */
}

.contact-list {

    color: white;
}

.portfolio-card h2,
.portfolio-card h3,
.portfolio-card h4,
.portfolio-card h5,
.portfolio-card p,
.portfolio-card li {
    color: black !important;
}


.separator-line {
    width: 2px;
    height: 80px !important;
    background: rgb(255, 255, 255);
    flex-grow: 1;
}

.schedule-item {
    padding: 5px !important;
    height: 100%;
}

.process-step {
    display: flex;
    padding: 10px 0 !important;
    align-items: flex-start;
}

.pricing-sec .pricing-card .pricing-body {
    min-height: 240px !important;
}

.h-100 {
    height: 100% !important;
}

.pricing-sec .pricing-card .price-card .pricing-features li {
    list-style: none;
    font-size: 14px !important;
    font-weight: 300;
    color: #000000;
    opacity: .8;
}

#note-para {
    padding: 0 70px !important;

}

.single-items p {
    margin-bottom: 5px !important;
}



@media screen and (max-width: 767px) {
    #note-para {
        padding: 0 21px !important;
    }

    .pricing-sec .pricing-card .pricing-body {
        text-align: center;
    }

    .price-card.h-100.d-flex.flex-column {

        min-height: 366px !important;
    }
}


.process-step {
    display: flex;
    padding: 25px 0;
    /* Slightly reduced padding */
    align-items: flex-start;
}

.step-number {
    font-size: 24px !important;
    font-weight: bold;
    color: #000000;
    line-height: 1;
    width: 45px !important;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    /* Reduced margin */
    font-size: 20px;
}

.step-content p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.5;
    /* Slightly tighter line height */
    opacity: 0.8;
    max-width: 90%;
    /* Prevent paragraphs from getting too wide */
}

.vertical-separator {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.separator-line {
    width: 2px;
    height: 100%;
    background: rgba(0, 0, 0, 0.253);
    flex-grow: 1;
}

.separator-dot {
    width: 10px;
    height: 10px;
    background: black;
    border-radius: 50%;
    margin: 10px 0;
}

@media (max-width: 991px) {
    .process-step {
        padding: 20px 0;
    }

    .step-number {
        width: 50px;
        font-size: 28px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 15px;
    }

    .feature-item {
    padding: 0px 25px !important;

   }
   .new-cont-mob {
        margin-bottom: 17px !important;
    }
    .img-icons-mob{
        margin-bottom: 0px !important;
    }
    .icons-title{
        margin-top: 17px !important;
    }
}

.btn.btn-transparent-white {
    background: #044089 !important;
    border-color: #ffffff;
    color: #ffffff !important;
}

.btn.btn-transparent-white:hover {
    background: linear-gradient(135deg, #ffffff, #044089) !important;
    color: #0287ac !important;
    /* optional: dark text on light bg */
    border-color: #ffffff !important;
}

.protfolio-cont * {

    color: black !important;
}

.contact-left-details * {
    color: black !important;
}

/* Hide by default (desktop and up) */
.sidemenu_btn {
    display: none !important;
}

/* Show on screen sizes less than 992px (mobile + tablet) */
@media (max-width: 991px) {
    .sidemenu_btn {
        display: inline-block !important;
    }
}

.career-title {
    text-align: left;
}

@media (max-width: 767px) {
    .career-title {
        text-align: center !important;
    }
}

/* For form text color */
.dark-form-text,
.dark-form-text .dark-input,
.dark-form-text .dark-btn-text {
    color: black !important;
}

/* For input placeholder color */
.dark-form-text .dark-input::placeholder {
    color: black !important;
    opacity: 1;
    /* Firefox reduces opacity by default */
}

/* For textarea placeholder color */
.dark-form-text .dark-input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: black !important;
}

.dark-form-text .dark-input::-moz-placeholder {
    /* Firefox 19+ */
    color: black !important;
}

.dark-form-text .dark-input:-ms-input-placeholder {
    /* IE 10+ */
    color: black !important;
}

.dark-form-text .dark-input:-moz-placeholder {
    /* Firefox 18- */
    color: black !important;
}

/* For button text color */
.dark-btn-text {
    color: black !important;
}

.footer-sect-a * {
    color: black;
}

.h4,
h4 {
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .single-items {
        padding: 45px 0 !important;
    }

    .single-items h3 {
        font-size: 1.5rem !important;
    }

    .skills-area .heading-area .title {
        font-size: 30px;
    }

    .slider-inner {
        height: 70vh !important;
    }

    ul.contact-list {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 auto 45px auto !important;
        padding-left: 16px !important;
        /* Adjusted margin for mobile */
    }

    .left-to-right-para{
        text-align: left;
        margin-left: 16px;
    }

    .feature-item {
        margin-bottom: 0px !important;
    }

    .navbar>.container,
    .navbar>.container-fluid {
        display: flex;
        justify-content: center !important;
    }



    /* Mobile specific styles */
    .process-step-mobile {
        padding: 15px;
    }

    .step-number-mobile {
        width: 40px;
        height: 40px;
        color: black;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .step-content-mobile h5 {
        color: black;
        margin-bottom: 5px;
    }

    .mobile-return-block * {
        color: black !important;
    }

    .process-step-mobile {
        padding: 10px 15px;
    }
}

@media screen and (max-width: 991px) {
    .left-to-right-para {
        text-align: left;

    }

    ul.contact-list {
    margin-bottom: 30px !important;
}

    .feature-item {
        margin-bottom: 0px !important;
    }

    .navbar > .container,
    .navbar > .container-fluid {
        display: flex;
        justify-content: center !important;
    }
    .process-step-mobile {
        padding: 10px 15px; /* Combined padding from both declarations */
    }

    .step-number-mobile {
        width: 40px;
        height: 40px;
        color: black;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .step-content-mobile h5 {
        color: black;
        margin-bottom: 5px;
    }

    .mobile-return-block * {
        color: black !important;
    }
}
