/* Suspension and Axle Repair Page Styles */

/* Hero Section */
.hero-section {
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    /* height: 375px; */
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: contain;
}

/* Main Content Section */
.main-content-section {
    padding: 80px 0;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    overflow: hidden;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    height: 428px;
    object-fit: contain;
    border-radius: 8px;
}

.content-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.content-text h1 {
    color: var(--Sections-Text-Headers, #000000);
    font-size: 40px;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    line-height: 48px;
    margin: 0;
    word-wrap: break-word;
}

.content-text p {
    color: var(--Sections-Text-Body, #4F4F4F);
    font-size: 20px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    word-wrap: break-word;
}

.cta-button {
    display: inline-flex;
    padding: 22px 32px;
    background: var(--Buttons-Primary-Surface, #FFCB08);
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover {
    background: #e6b607;
    text-decoration: none;
}

.cta-button:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.cta-button span,
.cta-button {
    color: var(--Buttons-Primary-Text, #000000);
    font-size: 22px;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 22px;
    letter-spacing: 1px;
    word-wrap: break-word;
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .main-content-section {
        padding: 60px 0;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .content-text {
        order: -1;
    }

    .content-image img {
        /* height: 537px; */
    }

    .content-text h1 {
        font-size: 40px;
        line-height: 48px;
    }
}

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {

    .main-content-section {
        padding: 40px 0;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .content-image {
        order: -1;
    }

    .content-image img {
        /* height: 252px; */
    }

    .content-text h1 {
        font-size: 32px;
        line-height: 36px;
    }

    .content-text p {
        font-size: 20px;
        line-height: 28px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
    .main-content-section {
        padding: 30px 0;
    }

    .content-text h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .content-text p {
        font-size: 18px;
        line-height: 26px;
    }

    .cta-button {
        padding: 18px 24px;
        font-size: 20px;
    }
}

.margin-top-40{
    margin-top: 40px;
}

/* Services Cards Section */
.services-cards {
    padding: 80px 0;
    /* background-color: #f8f9fa; */
}

.services-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.service-card {
    flex: 1;
    background: white;
    border: 1px solid #E7E7E7;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.service-card h3 {
    color: black;
    font-size: 24px;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    line-height: 28px;
    margin: 0 0 30px 0;
}

.service-card p {
    color: #4F4F4F;
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 26px;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.btn-secondary {
    display: inline-flex;
    padding: 16px 18px;
    border: 2px solid #003182;
    background: transparent;
    color: black;
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 1px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-secondary:hover {
    background-color: #003182;
    color: white;
}

/* Tablet Styles for Services Cards */
@media (max-width: 1024px) and (min-width: 768px) {
    .services-cards {
        padding: 60px 0;
    }

    .services-grid {
        gap: 30px;
    }

    .service-card {
        padding: 30px;
    }

    .service-card p {
        margin-bottom: 20px;
    }
}

/* Mobile Styles for Services Cards */
@media (max-width: 767px) {
    .services-cards {
        padding: 50px 0;
    }

    .services-grid {
        flex-direction: column;
        gap: 30px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 22px;
        line-height: 26px;
        margin-bottom: 16px;
    }

    .service-card p {
        margin-bottom: 16px;
    }
}

/* Suspension Services Section */
.suspension-services {
    background: black;
    padding: 100px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1003px;
    width: 100%;
    margin: auto;
}

.services-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-text h2 {
    color: white;
    font-size: 40px;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    line-height: 48px;
    margin: 0;
}

.services-text p {
    color: #D1D1D1;
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    height: 44px;
}

.service-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item span {
    flex: 1;
    color: white;
    font-size: 20px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 28px;
}

.service-divider {
    height: 2px;
    background: #4F4F4F;
    width: 100%;
}

/* Tablet Styles for Suspension Services */
@media (max-width: 1024px) and (min-width: 768px) {
    .suspension-services {
        padding: 100px 40px;
    }

    .services-content {
        flex-direction: column;
        gap: 30px;
        max-width: 550px;
        text-align: center;
    }

    .services-text .cta-button {
        align-self: center;
        width: 100%;
    }
}

/* Mobile Styles for Suspension Services */
@media (max-width: 767px) {
    .suspension-services {
        padding: 80px 26px;
    }

    .services-content {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
    }

    .services-text h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .services-text .cta-button {
        align-self: stretch;
        width: 100%;
    }
}

/* Warning Signs Section */
.warning-signs-section {
    padding: 80px 0;
    background-color: white;
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.warning-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.warning-text h2 {
    color: black;
    font-size: 40px;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    line-height: 48px;
    margin: 0;
}

.warning-text p {
    color: #4F4F4F;
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
}

.warning-buttons {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.btn-secondary-large {
    display: inline-flex;
    padding: 22px 32px;
    border: 3px solid #003182;
    background: transparent;
    color: black;
    font-size: 22px;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 22px;
    letter-spacing: 1px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-secondary-large:hover {
    background-color: #003182;
    color: white;
}

.warning-image {
    flex: 1;
}

.warning-image img {
    width: 100%;
    height: 322px;
    object-fit: cover;
    border-radius: 8px;
}

/* Tablet Styles for Warning Signs */
@media (max-width: 1024px) and (min-width: 768px) {
    .warning-signs-section {
        padding: 60px 0;
    }

    .warning-content {
        gap: 30px;
    }

    .warning-buttons {
        flex-wrap: wrap;
    }

    .warning-buttons .cta-button,
    .warning-buttons .btn-secondary-large {
        flex: 1;
        min-width: 200px;
    }

    .warning-image img {
        height: auto;
        min-height: 322px;
    }
}

/* Mobile Styles for Warning Signs */
@media (max-width: 767px) {
    .warning-signs-section {
        padding: 50px 0;
    }

    .warning-content {
        flex-direction: column;
        gap: 30px;
    }

    .warning-image {
        order: -1;
    }

    .warning-text h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .warning-buttons {
        flex-direction: column;
        width: 100%;
    }

    .warning-buttons .cta-button,
    .warning-buttons .btn-secondary-large {
        width: 100%;
    }

    .warning-image img {
        height: 322px;
    }
}

/* Google Reviews Section */
.reviews-section {
    background: #E7E7E7;
    padding: 120px 100px;
    padding-bottom: 50px;
}

div#reviewsSlider {
    margin: 0;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.reviews-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-title-wrapper h2 {
    color: black;
    font-size: 40px;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    line-height: 48px;
    margin: 0;
}

.btn-leave-review {
    display: inline-flex;
    padding: 16px 18px;
    border: 2px solid #B0B0B0;
    background: transparent;
    color: black;
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 1px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-leave-review:hover {
    background-color: #B0B0B0;
    color: white;
}

.reviews-navigation {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-btn {
    width: 32px;
    height: 33px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn:not(:disabled):hover {
    opacity: 0.7;
}

.reviews-slider {
    margin: 40px 0;
}

button.slick-arrow.next {
    right: -50px;
}

button.slick-arrow.prev {
    left: -50px;
}

.reviews-slider .slick-list {
    overflow: hidden;
}

.reviews-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.reviews-slider .slick-slide {
    padding: 30px;
    height: auto;
    display: flex;
    margin: 0 10px;
}

.reviews-slider .slick-slide>div {
    height: 100%;
    width: 100%;
    display: flex;
}

/* Ensure equal height for all review cards in slider */
.reviews-slider .review-card {
    height: 100%;
    width: 295px;
}

/* Slick Arrow Styles */
.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.slick-arrow:hover {
    background: #f8f8f8;
    color: #000;
}

.slick-prev {
    left: -25px;
}

.slick-next {
    right: -25px;
}

.slick-arrow svg {
    width: 24px;
    height: 24px;
}

.slick-arrow:before {
    display: none;
}

/* Mobile Leave Review Button */
.mobile-leave-review {
    display: none;
    text-align: center;
    margin-top: 30px;
}

.mobile-leave-review .btn-leave-review {
    padding: 12px 24px;
    background: #FF6B35;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.mobile-leave-review .btn-leave-review:hover {
    background: #e55a2b;
}

/* Responsive Arrow Positioning */
@media (max-width: 768px) {
    .slick-prev {
        left: -15px;
    }

    .slick-next {
        right: -15px;
    }

    .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .slick-arrow svg {
        width: 20px;
        height: 20px;
    }
    button.slick-arrow.next {
        right: 0;
        top: 116%;
    }

    button.slick-arrow.prev {
        left: 0;
        top: 116%;
    }
}

@media (max-width: 430px) {
    .mobile-leave-review .btn-leave-review{
        max-width: 150px;
    }
}

.review-card {
    width: 295px;
    min-height: 260px;
    height: 100%;
    padding: 30px;
    background: white;
    border: 1px solid #E7E7E7;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-rating {
    color: black;
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 26px;
}

.review-rating svg {
    margin-top: -5px;
}

.google-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-text {
    flex: 1;
    color: #4F4F4F;
    font-size: 14px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
    display: flex;
    align-items: center;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.author-name {
    color: #003182;
    font-size: 24px;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    line-height: 28px;
}

.review-date {
    color: #4F4F4F;
    font-size: 14px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 22px;
}

.desktop-only {
    display: flex;
}

.mobile-tablet-only {
    display: none;
}

.btn-leave-review-mobile {
    display: none;
}

/* Tablet Styles for Reviews */
@media (max-width: 1024px) and (min-width: 768px) {
    .reviews-section {
        padding: 100px 40px;
    }

    .reviews-header {
        margin-bottom: 30px;
    }

    .review-card {
        width: 315px;
        min-width: 315px;
        max-width: 315px;
        height: 218px;
        flex-shrink: 0;
        margin-right: 20px;
    }

    .review-card:last-child {
        margin-right: 0;
    }

    .desktop-only {
        display: none;
    }

    .mobile-tablet-only {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 30px;
    }
}

/* Mobile Styles for Reviews */
@media (max-width: 767px) {
    .reviews-section {
        padding: 80px 26px;
    }

    .reviews-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-bottom: 30px;
    }

    .reviews-title-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .reviews-title-wrapper h2 {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 30px;
    }

    .reviews-title-wrapper .btn-leave-review {
        display: none;
    }

    .review-card {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        height: 246px;
        padding: 20px;
        gap: 16px;
        flex-shrink: 0;
        margin-right: 20px;
    }

    .review-card:last-child {
        margin-right: 0;
    }

    .review-card .author-name {
        font-size: 22px;
        line-height: 26px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-tablet-only {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
    }

    .btn-leave-review-mobile {
        display: block;
    }
}

/* Desktop specific styles - 2 rows x 4 columns grid */
@media (min-width: 1025px) {
    .review-card {
        flex-shrink: 0;
        transition: none;
    }

    /* Show all 8 reviews on desktop */
    .review-card {
        display: flex !important;
    }

    /* Hide navigation on desktop since all reviews are visible */
    .reviews-navigation {
        display: none !important;
    }
}

/* ===== QUOTE FORM SECTION ===== */
.quote-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.quote-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 710px;
    margin: 0 auto;
}

.quote-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: black;
    margin: 0;
}

.quote-subtitle {
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 1px;
    text-align: center;
    color: black;
    margin: 0;
}

.quote-form-container {
    width: 100%;
    padding: 40px;
    background: white;
    border: 1px solid #E7E7E7;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: black;
    margin: 0;
}

.form-divider {
    height: 1px;
    background: #E7E7E7;
    width: 100%;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    width: 100%;
}

.form-group.half-width {
    flex: 1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 16px;
    color: black;
}

.required-indicator {
    width: 5.12px;
    height: 4.86px;
    background: #FFCB08;
    display: block;
}

.form-input,
.form-textarea {
    padding: 16px;
    background: white;
    border: 1px solid #E7E7E7;
    font-size: 14px;
    font-weight: 300;
    line-height: 16px;
    color: #4F4F4F;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #FFCB08;
}

.form-input::placeholder,
.form-textarea::placeholder {
    opacity: 0.6;
    color: #4F4F4F;
}

.form-textarea {
    height: 160px;
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    padding: 22px 32px;
    background: #FFCB08;
    border: none;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 22px;
    letter-spacing: 1px;
    color: black;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-end;
}

.form-submit-btn:hover {
    background: #e6b307;
}

/* ===== TABLET STYLES ===== */
@media (max-width: 1024px) {
    .quote-content {
        gap: 30px;
    }

    .quote-form-container {
        padding: 40px 30px;
        gap: 20px;
    }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
    .quote-section {
        padding: 60px 0;
    }

    .quote-content {
        gap: 30px;
    }

    .quote-title {
        font-size: 32px;
        line-height: 36px;
    }

    .quote-subtitle {
        font-size: 22px;
        line-height: 28px;
        letter-spacing: 0.75px;
    }

    .quote-form-container {
        padding: 30px 20px;
        gap: 16px;
    }

    .form-title {
        font-size: 22px;
        line-height: 26px;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .form-group.half-width {
        width: 100%;
    }

    .form-submit-btn {
        align-self: stretch;
        width: 100%;
    }
}

/* ===== WHY CHOOSE TRAILER KING SECTION ===== */
.why-choose-section {
    padding: 120px 100px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.40) 100%),
        url('https://xccelerateapp.s3.amazonaws.com/trking/trking/media/1755626067_01cc9c6e59f8ca74fcf2534e4ae6cfebb7d894b8.webp') center/cover;
    border: 1px solid #E7E7E7;
    overflow: hidden;
}

.why-choose-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.why-choose-inner {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.company-logo {
    width: 134.11px;
    height: 70.38px;
    object-fit: contain;
}

.why-choose-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: black;
    margin: 0;
    text-align: center;
}

.why-choose-description {
    text-align: center;
    color: black;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.why-choose-description p {
    margin: 0 0 16px 0;
}

.why-choose-description p:last-child {
    margin-bottom: 0;
}

.phone-link,
.address-link {
    color: black;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.phone-link:hover,
.address-link:hover {
    opacity: 0.8;
}

.why-choose-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.btn {
    padding: 22px 32px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 22px;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #FFCB08;
    color: black;
}

.btn-primary:hover {
    background: #e6b307;
}

.btn-secondary {
    background: transparent;
    color: black;
    border: 3px solid #003182;
}

.btn-secondary:hover {
    background: #003182;
    color: white;
}

/* ===== TABLET STYLES FOR WHY CHOOSE SECTION ===== */
@media (max-width: 1024px) {
    .why-choose-section {
        padding: 100px 40px;
    }

    .why-choose-content {
        gap: 30px;
    }
}

/* ===== MOBILE STYLES FOR WHY CHOOSE SECTION ===== */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 80px 26px;
    }

    .why-choose-inner {
        align-items: flex-start;
        text-align: left;
    }

    .why-choose-title {
        font-size: 32px;
        line-height: 36px;
        text-align: left;
    }

    .why-choose-description {
        text-align: left;
    }

    .why-choose-buttons {
        flex-direction: column;
        align-self: stretch;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}