
/* =========================================================
   ADITHYA ACTING DRIVERS - FULL RESPONSIVE OVERRIDES
   Add this file AFTER main.css / responsive.css, or replace
   the existing responsive.css contents with these rules.
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
}

/* ---------- HERO / SLIDER ---------- */

.slider-section,
.main-slider,
.swiper-slide {
    width: 100%;
    max-width: 100%;
}

.slider-section {
    overflow: hidden;
}

.slider-img,
.slider-img img {
    width: 100%;
}

.slider-img img {
    display: block;
    object-fit: cover;
}

.slider-content-wrap {
    width: 100%;
}

.slider-content {
    width: 100%;
    max-width: 760px;
}

.slider-caption.big {
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    line-height: 1.12;
    font-weight: 700;
    margin-bottom: 0;
}

.slider-caption.medium {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.35;
}

.slider-caption.small {
    font-size: clamp(.875rem, 1.5vw, 1rem);
    line-height: 1.5;
}

.slider-btn .default-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.car-holder {
    max-width: 55%;
}

.car-holder img {
    width: 100%;
    height: auto;
}

.slider-controls {
    max-width: 100%;
}

.slider-control {
    white-space: nowrap;
}

/* ---------- GENERAL TYPOGRAPHY ---------- */

.section-heading h2 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.section-heading h4 {
    font-size: clamp(.9rem, 1.5vw, 1.1rem);
}

.section-heading p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.padding {
    padding-top: clamp(50px, 7vw, 100px);
    padding-bottom: clamp(50px, 7vw, 100px);
}

/* ---------- ABOUT ---------- */

.about-img img {
    display: block;
    width: 100%;
    height: auto;
}

.about-info h2 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.4;
}

.about-info a {
    word-break: break-word;
}

/* ---------- SERVICES ---------- */

.service-item {
    height: 100%;
    overflow: hidden;
}

.service-thumb {
    overflow: hidden;
}

.service-thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-content {
    height: auto;
}

.service-content h3 {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.3;
}

.service-content p {
    line-height: 1.6;
}

/* ---------- BOOKING ---------- */

.booking-section {
    width: 100%;
    overflow: hidden;
}

.booking-wrap {
    width: 100%;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.booking-form .form-field {
    min-width: 0;
    width: 100%;
}

.booking-form .form-control,
.booking-form .nice-select,
.booking-form select,
.booking-form input {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
}

.booking-form .form-field:last-child {
    display: flex;
    align-items: stretch;
}

.booking-form .form-field:last-child .default-btn {
    width: 100%;
}

.booking-form .nice-select {
    float: none;
    line-height: 50px;
}

#form-messages {
    width: 100%;
    word-break: break-word;
}

/* ---------- TESTIMONIALS / FEATURES ---------- */

.testi-item {
    height: 100%;
}

.testi-item p {
    line-height: 1.65;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-thumb {
    flex: 0 0 auto;
}

.author-thumb img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

.author-info {
    min-width: 0;
}

.author-info h3 {
    font-size: 1rem;
    line-height: 1.3;
}

.ridek-features li {
    display: flex;
    gap: 15px;
}

.feature-content {
    min-width: 0;
}

.feature-content h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.feature-content p {
    line-height: 1.6;
}

/* ---------- CTA ---------- */

.cta-content {
    width: 100%;
}

.cta-content h2 {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.cta-content p {
    line-height: 1.6;
}

.cta-call {
    max-width: 100%;
}

.cta-call a {
    word-break: break-word;
}

/* ---------- BLOG ---------- */

.post-card {
    height: 100%;
}

.post-thumb {
    overflow: hidden;
}

.post-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.post-content h3 {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.35;
}

.post-content p {
    line-height: 1.6;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
}

/* =========================================================
   LARGE TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 1199.98px) {

    .container {
        max-width: 960px;
    }

    .slider-content {
        max-width: 650px;
    }

    .car-holder {
        max-width: 52%;
    }

    .about-section .row,
    .testimonial-section .row {
        row-gap: 40px;
    }

    .booking-section .row {
        row-gap: 25px;
    }

}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .container {
        max-width: 720px;
    }

    .slider-content {
        max-width: 58%;
    }

    .slider-caption.big {
        font-size: clamp(1.65rem, 5vw, 2.4rem) !important;
    }

    .slider-caption.medium {
        font-size: 1.1rem;
    }

    .slider-caption.small {
        font-size: .9rem;
    }

    .car-holder {
        max-width: 48%;
    }

    .booking-car {
        display: none;
    }

    .booking-section .col-lg-4,
    .booking-section .col-lg-8 {
        width: 100%;
    }

    .booking-wrap {
        width: 100%;
    }

    .service-item {
        margin-bottom: 0;
    }

    .feature-wrap {
        margin-top: 20px;
    }

    .cta-men {
        opacity: .35;
    }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero */
    .slider-section {
        min-height: 500px;
    }

    .slider-img,
    .slider-img img {
        min-height: 500px;
    }

    .slider-img img {
        object-fit: cover;
        object-position: center;
    }

    .slider-content-wrap {
        padding: 70px 0 90px;
    }

    .slider-content {
        max-width: 100%;
        padding-right: 20px;
    }

    .slider-caption.big {
        font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
        line-height: 1.12;
    }

    .slider-caption.medium {
        margin-top: 12px;
        font-size: 1rem;
        line-height: 1.4;
    }

    .slider-caption.small {
        margin-top: 10px;
        font-size: .85rem;
        line-height: 1.45;
    }

    .slider-btn {
        margin-top: 18px;
    }

    .slider-btn .default-btn {
        width: auto;
        min-width: 190px;
        padding: 12px 18px;
    }

    .car-holder {
        max-width: 65%;
        right: -5%;
    }

    .slider-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 0 12px;
    }

    .slider-control {
        font-size: 12px;
    }

    /* About */
    .about-section .row {
        row-gap: 30px;
    }

    .about-img {
        margin-bottom: 5px;
    }

    .about-section .section-heading {
        margin-bottom: 25px !important;
    }

    /* Services */
    .service-section .section-heading p br,
    .blog-section .section-heading p br,
    .cta-content p br {
        display: none;
    }

    .service-item {
        margin-left: 0;
        margin-right: 0;
    }

    .service-content {
        padding: 20px;
    }

    /* Booking */
    .booking-section .row {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .booking-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-form .form-field {
        width: 100%;
    }

    .booking-form .default-btn {
        width: 100%;
        min-height: 52px;
    }

    /* Testimonials */
    .testimonial-section .row {
        row-gap: 45px;
    }

    .ridek-features li {
        gap: 12px;
    }

    /* CTA */
    .cta-section {
        overflow: hidden;
    }

    .cta-content {
        position: relative;
        z-index: 2;
        padding: 0 5px;
    }

    .cta-call {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* Blog */
    .grid-post {
        row-gap: 25px;
    }

    .padding-15 {
        padding-left: 10px;
        padding-right: 10px;
    }

}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .slider-section,
    .slider-img,
    .slider-img img {
        min-height: 570px;
    }

    .slider-content-wrap {
        padding: 55px 0 105px;
    }

    .slider-content {
        padding-right: 5px;
    }

    .slider-caption.big {
        font-size: clamp(1.45rem, 8.5vw, 1.95rem) !important;
    }

    .slider-caption.medium {
        font-size: .92rem;
    }

    .slider-caption.small {
        font-size: .8rem;
    }

    .slider-btn .default-btn {
        width: 100%;
        max-width: 240px;
        min-width: 0;
    }

    .car-holder {
        max-width: 78%;
        right: -15%;
        bottom: 8%;
    }

    .slider-controls {
        bottom: 10px;
    }

    .section-heading h2 {
        font-size: 1.65rem;
    }

    .section-heading p {
        font-size: .92rem;
    }

    .about-info h2 {
        font-size: 1.1rem;
    }

    .about-info h2 span,
    .about-info h2 a {
        display: block;
    }

    .service-content {
        padding: 18px 15px;
    }

    .service-content h3 {
        font-size: 1.15rem;
    }

    .service-content p {
        font-size: .9rem;
    }

    .booking-section .section-heading h2 {
        font-size: 1.7rem;
    }

    .booking-form {
        gap: 10px;
    }

    .form-field i {
        z-index: 2;
    }

    .form-control {
        min-width: 0;
    }

    .testi-item {
        padding: 20px 15px;
    }

    .testi-item p {
        font-size: .9rem;
    }

    .cta-content h2 {
        font-size: 1.65rem;
    }

    .cta-content p {
        font-size: .9rem;
    }

    .post-content {
        padding-left: 15px;
        padding-right: 15px;
    }

}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 374.98px) {

    .slider-caption.big {
        font-size: 1.35rem !important;
    }

    .slider-caption.medium {
        font-size: .85rem;
    }

    .slider-caption.small {
        font-size: .75rem;
    }

    .slider-btn .default-btn {
        max-width: 210px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .slider-controls .slider-control {
        font-size: 10px;
    }

    .section-heading h2 {
        font-size: 1.45rem;
    }

}

/* ---------- Prevent horizontal overflow from common elements ---------- */

.row {
    --bs-gutter-x: 1.5rem;
}

section,
header,
footer,
main,
nav,
.slider-section,
.booking-section {
    max-width: 100%;
}

table {
    max-width: 100%;
}

iframe {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}
