/* =========================================================
   SHIV MOTOR DRIVING SCHOOL
   RTO WORK PAGE
   BLACK / WHITE COLOR SWAPPED
   RED ACCENT REMAINS SAME
   ========================================================= */


/* =========================================================
   RTO INTRO
   ========================================================= */

.rto-intro {
    padding: 100px 0;
    background: var(--white-color);
}

.rto-intro-content {
    padding-right: 30px;
}


/* RTO intro heading */

.rto-intro .section-title h3 {
    color: var(--accent-color);
}

.rto-intro .section-title h2 {
    color: var(--primary-color);
}

.rto-intro .section-title h2 span {
    color: var(--accent-color);
}


/* RTO intro paragraphs */

.rto-intro-content p {
    color: #000;
    line-height: 1.7em;
    margin-bottom: 20px;
}

.rto-intro-content p:last-child {
    margin-bottom: 0;
}


/* Highlight Box */

.rto-highlight-box {
    background: var(--primary-color);
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.rto-highlight-box::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    background: var(--accent-color);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    opacity: 0.12;
}

.rto-highlight-box .icon-box {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.rto-highlight-box .icon-box i {
    font-size: 30px;
    color: var(--white-color);
}

.rto-highlight-box h3 {
    color: var(--white-color);
    font-size: 26px;
    line-height: 1.25em;
    margin-bottom: 15px;
}

.rto-highlight-box p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7em;
    margin-bottom: 25px;
}


/* =========================================================
   RTO SERVICES
   ========================================================= */

.rto-services {
    padding: 100px 0;
    background: var(--primary-color);
}


/* Heading */

.rto-services .section-title h3 {
    color: var(--accent-color);
}

.rto-services .section-title h2 {
    color: var(--white-color);
}

.rto-services .section-title h2 span {
    color: var(--accent-color);
}

.rto-services .section-title-content p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7em;
}


/* Service Card */

.rto-service-item {
    position: relative;
    height: 100%;
    padding: 35px;
    background: var(--white-color);
    border-bottom: 3px solid transparent;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.rto-service-item:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--accent-color);
}


/* Number */

.rto-service-item .service-number {
    position: absolute;
    top: 18px;
    right: 25px;
    font-family: var(--accent-font);
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    color: rgba(16, 15, 17, 0.08);
}


/* Icon */

.rto-service-item .icon-box {
    width: 65px;
    height: 65px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.rto-service-item .icon-box i {
    font-size: 27px;
    color: var(--white-color);
}


/* Heading */

.rto-service-item h3 {
    color: var(--primary-color);
    font-size: 25px;
    line-height: 1.3em;
    margin-bottom: 15px;
}


/* Paragraph */

.rto-service-item p {
    color: #000;
    line-height: 1.7em;
    margin: 0;
}

.rto-service-item:hover h3 {
    color: var(--primary-color);
}

.rto-service-item:hover p {
    color: rgba(16, 15, 17, 0.82);
}


/* =========================================================
   RTO PROCESS
   ========================================================= */

.rto-process {
    padding: 100px 0;
    background: var(--white-color);
}


/* Heading */

.rto-process .section-title h3 {
    color: var(--accent-color);
}

.rto-process .section-title h2 {
    color: var(--primary-color);
}

.rto-process .section-title h2 span {
    color: var(--accent-color);
}


/* Process card */

.rto-process-item {
    position: relative;
    text-align: center;
    padding: 0 15px;
}


/* Connecting line */

.rto-process-item::after {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(50% + 45px);
    width: calc(100% - 90px);
    height: 1px;
    background: rgba(16, 15, 17, 0.15);
}

.rto-process-item:last-child::after {
    display: none;
}


/* Number circle */

.rto-process-number {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white-color);
    font-family: var(--accent-font);
    font-size: 30px;
    font-weight: 800;
}


/* Heading */

.rto-process-item h3 {
    color: var(--primary-color);
    font-size: 23px;
    margin-bottom: 12px;
}


/* Paragraph */

.rto-process-item p {
    color: #000;
    line-height: 1.7em;
    margin: 0;
}


/* =========================================================
   DRIVING LICENCE JOURNEY
   ========================================================= */

.rto-journey {
    padding: 100px 0;
    background: var(--primary-color);
}


/* Heading */

.rto-journey .section-title h3 {
    color: var(--accent-color);
}

.rto-journey .section-title h2 {
    color: var(--white-color);
}

.rto-journey .section-title h2 span {
    color: var(--accent-color);
}


/* Journey container */

.rto-journey-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: var(--white-color);
}


/* Journey item */

.rto-journey-item {
    min-width: 170px;
    padding: 25px 20px;
    background: #f3dff1;
    text-align: center;
}


/* Journey icon */

.rto-journey-item .icon-box {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
}

.rto-journey-item .icon-box i {
    font-size: 23px;
    color: var(--white-color);
}


/* Journey title */

.rto-journey-item h3 {
    color: var(--primary-color);
    font-size: 20px;
    line-height: 1.3em;
    margin: 0;
}


/* Arrow */

.rto-journey-arrow {
    color: var(--accent-color);
    font-size: 22px;
}


/* =========================================================
   DOCUMENTS
   ========================================================= */

.rto-documents {
    padding: 100px 0;
    background: var(--white-color);
}


/* Heading */

.rto-documents .section-title h3 {
    color: var(--accent-color);
}

.rto-documents .section-title h2 {
    color: var(--primary-color);
}

.rto-documents .section-title h2 span {
    color: var(--accent-color);
}

.rto-documents .section-title-content p {
    color: #000;
    line-height: 1.7em;
}


/* Document card */

.rto-document-box {
    height: 100%;
    padding: 40px;
    background: var(--primary-color);
}

.rto-document-box h3 {
    color: var(--white-color);
    font-size: 27px;
    line-height: 1.3em;
    margin-bottom: 25px;
}

.rto-document-box h3 i {
    color: var(--accent-color) !important;
    margin-right: 10px;
}


/* Document list */

.rto-document-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rto-document-list li {
    position: relative;
    padding: 0 0 14px 30px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.6em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.rto-document-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.rto-document-list li i {
    position: absolute;
    top: 5px;
    left: 0;
    color: var(--accent-color);
}


/* Important note */

.rto-note {
    margin-top: 35px;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.04);
    border-left: 3px solid var(--accent-color);
}

.rto-note p {
    color: rgba(0, 0, 0, 0.78);
    line-height: 1.7em;
    margin: 0;
}

.rto-note strong {
    color: var(--accent-color);
}


/* =========================================================
   WHY SHIV MOTOR
   ========================================================= */

.rto-why {
    padding: 100px 0;
    background: var(--primary-color);
}


/* Heading */

.rto-why .section-title h3 {
    color: var(--accent-color);
}

.rto-why .section-title h2 {
    color: var(--white-color);
}

.rto-why .section-title h2 span {
    color: var(--accent-color);
}

.rto-why .section-title-content p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7em;
}


/* Why card */

.rto-why-item {
    display: flex;
    gap: 20px;
    height: 100%;
    padding: 30px;
    background: var(--white-color);
    transition: all 0.3s ease-in-out;
}

.rto-why-item:hover {
    transform: translateY(-5px);
}


/* Why icon */

.rto-why-item .icon-box {
    width: 55px;
    min-width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
}

.rto-why-item .icon-box i {
    color: var(--white-color);
    font-size: 22px;
}


/* Why heading */

.rto-why-item h3 {
    color: var(--primary-color);
    font-size: 21px;
    line-height: 1.3em;
    margin-bottom: 8px;
}


/* Why paragraph */

.rto-why-item p {
    color: #000;
    line-height: 1.6em;
    margin: 0;
}


/* =========================================================
   FAQ
   ========================================================= */

.rto-faq {
    padding: 100px 0;
    background: var(--white-color);
}


/* Heading */

.rto-faq .section-title h3 {
    color: var(--accent-color);
}

.rto-faq .section-title h2 {
    color: var(--primary-color);
}

.rto-faq .section-title h2 span {
    color: var(--accent-color);
}

.rto-faq .section-title-content p {
    color: #000;
    line-height: 1.7em;
}


/* FAQ item */

.rto-faq .faq-accordion .accordion-item {
    border-color: rgba(16, 15, 17, 0.13);
}


/* Closed question */

.rto-faq .faq-accordion .accordion-button.collapsed {
    background: transparent;
    color: var(--primary-color);
}


/* Open question */

.rto-faq .faq-accordion .accordion-button {
    background: var(--accent-color);
    color: var(--white-color);
}


/* Arrow */

.rto-faq .faq-accordion .accordion-button::after {
    color: var(--white-color);
}

.rto-faq .faq-accordion .accordion-button.collapsed::after {
    color: var(--primary-color);
}


/* Answer */

.rto-faq .faq-accordion .accordion-body {
    background: var(--accent-color);
}

.rto-faq .faq-accordion .accordion-body p {
    color: var(--white-color);
}


/* =========================================================
   CTA
   ========================================================= */

.rto-cta {
    padding: 90px 0;
    background: var(--accent-color);
}


/* CTA content */

.rto-cta-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.rto-cta-content h2 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.rto-cta-content h2 span {
    color: var(--primary-color);
}

.rto-cta-content p {
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.7em;
    margin-bottom: 30px;
}


/* CTA buttons */

.rto-cta .btn-default {
    background: var(--white-color);
    color: var(--primary-color);
}

.rto-cta .btn-default::after {
    background: var(--primary-color);
}

.rto-cta .btn-default:hover {
    color: var(--white-color);
}


/* =========================================================
   FOOTER - ONLY RTO PAGE COLOR OVERRIDES
   ========================================================= */

.rto-cta+.main-footer {
    background-color: #000;
}

.rto-cta+.main-footer .about-footer-content p {
    color: #fff;
}

.rto-cta+.main-footer .footer-links h3,
.rto-cta+.main-footer .footer-newsletter-form h3 {
    color: #fff;
}

.rto-cta+.main-footer .footer-links ul li,
.rto-cta+.main-footer .footer-links ul li a {
    color: #fff;
}

.rto-cta+.main-footer .footer-links ul li a:hover {
    color: var(--accent-color);
}

.rto-cta+.main-footer .footer-info-content p,
.rto-cta+.main-footer .footer-info-content a {
    color:#fff;
}

.rto-cta+.main-footer .footer-info-content a:hover,
.rto-cta+.main-footer .footer-info-content a:hover p {
    color: var(--accent-color);
}

.rto-cta+.main-footer .footer-newsletter-form>p {
    color: #fff !important;
}

.rto-cta+.main-footer .footer-contact-list {
    background: var(--accent-color);
}

.rto-cta+.main-footer .footer-contact-list ul li a {
    color: var(--white-color);
}

.rto-cta+.main-footer .footer-contact-list ul li a:hover {
    color: var(--primary-color);
}

.rto-cta+.main-footer .footer-copyright-text p {
    color: #fff;
}

.rto-cta+.main-footer .footer-social-links ul li a {
    background: #fff;
    color: #000;
}

.rto-cta+.main-footer .footer-social-links ul li a:hover {
    background: var(--accent-color);
    color: var(--white-color);
}


/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (max-width: 991px) {

    .rto-intro,
    .rto-services,
    .rto-process,
    .rto-journey,
    .rto-documents,
    .rto-why,
    .rto-faq {
        padding: 70px 0;
    }

    .rto-intro-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .rto-process-item::after {
        display: none;
    }

    .rto-journey-arrow {
        display: none;
    }

    .rto-journey-item {
        min-width: 150px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

    .rto-intro,
    .rto-services,
    .rto-process,
    .rto-journey,
    .rto-documents,
    .rto-why,
    .rto-faq {
        padding: 60px 0;
    }


    /* Intro */

    .rto-highlight-box {
        padding: 30px;
    }


    /* Services */

    .rto-service-item {
        padding: 30px;
    }


    /* Process */

    .rto-process-item {
        margin-bottom: 35px;
    }

    .rto-process-item:last-child {
        margin-bottom: 0;
    }


    /* Journey */

    .rto-journey-box {
        padding: 20px;
    }

    .rto-journey-item {
        width: 100%;
        min-width: 100%;
    }


    /* Documents */

    .rto-document-box {
        padding: 30px;
    }


    /* Why */

    .rto-why-item {
        padding: 25px;
    }


    /* CTA */

    .rto-cta {
        padding: 65px 0;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media only screen and (max-width: 480px) {

    .rto-highlight-box,
    .rto-service-item,
    .rto-document-box,
    .rto-why-item {
        padding: 22px;
    }

    .rto-service-item h3 {
        font-size: 22px;
    }

    .rto-process-number {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }

    .rto-process-item h3 {
        font-size: 21px;
    }

    .rto-document-box h3 {
        font-size: 23px;
    }

    .rto-why-item h3 {
        font-size: 20px;
    }

}