/* Root variables */
:root {
    --primary-color: #DAA520;
    --accent-color: #DAA520;
    --primary-light: rgba(218, 165, 32, 0.3);
    --primary-lighter: rgba(218, 165, 32, 0.08);
    --text-dark: #444;
    --text-medium: #606060;
    --bg-light: #f8f8f8;
    --border-light: #e5e5e5;
    --border-lighter: #f0f0f0;
    --white: #ffffff;
}

/* Sections container styles */
.sections-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#section-id-1 {
    flex: 1 1 44%;
    order: 1;
}

#section-id-2 {
    flex: 1 1 56%; 
    order: 2; 
}

#img-slider {
    flex: 1;
}

.section-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.find-out-more {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 10px;
}

.section-container h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.tagline {
    font-style: italic;
    font-size: 20px;
    margin-bottom: 20px;
    color: #555;
}

.content p {
    margin-bottom: 20px;
    font-size: 16px;
    max-width: 800px;
}

.highlight {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

/* Slide styles */
.slide-container {
    position: relative;
    min-height: 200px;
}

.slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    z-index: 2;
}

.slide h1,
.slide .highlight,
.slide p,
.slide .tagline {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.slide.active .highlight {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.slide.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.slide.active .tagline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Services styles */
.services-container {
    color: #202020;
    padding: 40px 20px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.single-service {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    z-index: 1;
}

.single-service:hover {
    transform: translateY(-5px);
}

.service-header {
    height: 60px;
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.bottom-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    padding-bottom: 10px;
}

.single-service:hover .bottom-content {
    justify-content: flex-start;
    transform: translateY(0);
    padding-top: 30px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #FF6600;
    font-size: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-icon i {
    font-size: 20px;
    line-height: 1;
}

.single-service .title {
    font-size: 24px;
    font-weight: 900;
    color: #000;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    margin: 0 0 20px 0;
    padding: 0;
    display: block;
    width: 100%;
    text-align: left;
}

.single-service .description {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    height: 0;
    opacity: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.single-service:hover .description {
    height: auto;
    opacity: 1;
    margin-bottom: 20px;
}

.single-service:hover .title {
    margin-bottom: 15px;
}

.single-service .learn-more {
    font-size: 16px;
    font-weight: 500;
    color: #FF6600;
    text-decoration: none;
    position: relative;
    z-index: 2;
    display: inline-block;
    border-bottom: 1px solid #FF6600;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    width: 100%;
}

.single-service .learn-more:hover {
    color: #d63c00;
    border-color: #d63c00;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 1;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.single-service:hover .service-bg {
    opacity: 0.05;
}

.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: filter 0.4s ease;
}

.single-service:hover .service-bg img {
    filter: grayscale(10%);
}

.service-bg:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.8) 60%,
        rgba(255, 255, 255, 1) 100%);
    transition: background 0.4s ease;
}

.single-service:hover .service-bg:after {
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,1) 100%);
}

.single-service:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 83, 255, 0.1);
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.single-service:after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 69, 0, 0.1);
    border-radius: 50%;
    z-index: 0;
}

/* Drive Process Styles */
.drive-process-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
}

.drive-process-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-width: 400px;
}

.drive-content-section {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    min-width: 850px;
    perspective: 1000px;
}

.drive-content-container {
    width: 80%;
    transform-style: preserve-3d;
}

.drive-circle-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.drive-circle-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 6px solid #f1f1f1;
    border-radius: 50%;
    transition: transform 0.8s ease-in-out;
}

.drive-path-segment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 6px solid transparent;
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
}

#drive-segment-1 {
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
    transform: rotate(36deg);
    transition: all 0.5s ease-in-out;
}

#drive-segment-2 {
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
    transform: rotate(-36deg);
}

#drive-segment-3 {
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
    transform: rotate(-108deg);
}

#drive-segment-4 {
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
    transform: rotate(-180deg);
}

#drive-segment-5 {
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
    transform: rotate(-252deg);
}

.drive-segment-active {
    border-color: var(--primary-color) !important;
}

.drive-circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drive-circle-center-text {
    font-weight: 100;
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.drive-process-steps {
    list-style: none;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.8s ease-in-out;
    padding: 0;
    margin: 0;
}

.drive-step-position {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-origin: 0 0;
    transition: transform 0.8s ease-in-out;
}

.drive-step-position:nth-child(1) { transform: rotate(0deg) translate(175px); }
.drive-step-position:nth-child(2) { transform: rotate(72deg) translate(175px); }
.drive-step-position:nth-child(3) { transform: rotate(144deg) translate(175px); }
.drive-step-position:nth-child(4) { transform: rotate(216deg) translate(175px); }
.drive-step-position:nth-child(5) { transform: rotate(288deg) translate(175px); }

.drive-process-step {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
}

.drive-step-button {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.drive-step-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: visible;
    text-decoration: none;
}

.drive-process-step.drive-active .drive-step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: none;
    text-decoration: none;
}

.drive-process-step.drive-visited .drive-step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.drive-step-icon {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-medium);
    transition: all 0.3s ease;
    display: inline-block;
    transform-origin: center center;
    transition: transform 0.8s ease-in-out;
    text-decoration: none;
    border-bottom: none;
}

.drive-process-step.drive-active .drive-step-icon {
    color: var(--white);
    text-decoration: none;
    border-bottom: none;
}

.drive-process-step.drive-visited .drive-step-icon {
    color: var(--white);
    opacity: 1;
}

.drive-step-label {
    position: absolute;
    text-align: center;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    bottom: -25px;
    left: 0;
    display: inline-block;
    transform-origin: center center;
    transition: transform 0.8s ease-in-out;
}

.drive-process-step.drive-active .drive-step-label {
    font-weight: 600;
    color: var(--primary-color);
}

.drive-process-step.drive-visited .drive-step-label {
    color: var(--primary-color);
    opacity: 1;
}

.drive-process-content {
    display: none;
    border-radius: 0 12px 12px 0;
    padding: 35px;
    padding-top: 55px;
    width: 100%;
    border-right: 1px solid var(--border-lighter);
    border-bottom: 1px solid var(--border-lighter);
    border-left: none;
}

.drive-process-content.drive-active {
    display: block;
    animation: drive-slide-up 0.6s ease-out;
}

.drive-process-content h3 {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 22px;
    position: relative;
    padding-bottom: 12px;
}

.drive-process-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.drive-process-content p {
    line-height: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 16px;
}

.drive-highlight {
    font-weight: 600;
    color: var(--accent-color);
    background-color: var(--primary-lighter);
    padding: 2px 5px;
    border-radius: 3px;
}

/* Drive Values Styles */
.drive-values-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.drive-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.drive-value-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.drive-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.drive-value-card:nth-child(1) { animation-delay: 0.1s; }
.drive-value-card:nth-child(2) { animation-delay: 0.3s; }
.drive-value-card:nth-child(3) { animation-delay: 0.5s; }
.drive-value-card:nth-child(4) { animation-delay: 0.7s; }

.drive-value-accent {
    width: 6px;
    background-color: #DAA520;
}

.drive-value-content {
    padding: 28px 25px;
    flex: 1;
}

.drive-value-content h3 {
    color: #DAA520;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.drive-value-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drive-slide-up {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .drive-process-container {
        flex-direction: column;
    }
    
    .drive-process-section, .drive-content-section {
        min-width: 100%;
    }
    
    .drive-process-content {
        padding: 20px 15px;
        border: none;
        box-shadow: none;
    }

    .drive-values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .drive-values-container {
        margin: 40px auto;
    }
}

@media (max-width: 768px) {
    .swiper-pagination {
        display: none;
    }
    
    .sections-container {
        flex-direction: column;
    }
    
    #section-id-1 {
        order: 2;
        width: 100%;
    }
    
    #section-id-2 {
        order: 1;
        width: 100%;
    }
    
    .section-container, #img-slider {
        width: 100%;
    }
    
    .section-container h1 {
        font-size: 32px;
    }
    
    .highlight {
        font-size: 18px;
    }
    
    .tagline {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .content p {
        font-size: 14px;
    }
    
    .slide-container {
        min-height: 0px;
    }

    .services-container {
        padding: 30px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .single-service {
        height: auto;
        min-height: 280px;
    }

    .single-service .description {
        height: auto;
        opacity: 1;
        margin-bottom: 15px;
    }

    .single-service .bottom-content {
        transform: none !important;
        justify-content: flex-start !important;
        padding-top: 15px !important;
    }
}

@media (max-width: 500px) {
    #section-id-1, #section-id-2 {
        width: 100%;
    }
    
    .swiper-pagination {
        display: none;
    }
    
    .section-container h1 {
        font-size: 28px;
    }
    
    .slide-container {
        min-height: 0px;
    }
    
    .tagline {
        margin-bottom: 0px;
    }

    .drive-circle-container {
        width: 300px;
        height: 300px;
    }
    
    .drive-content-container {
        width: 100%;
    }
    
    .drive-process-step {
        width: 60px;
        height: 60px;
    }
    
    .drive-step-position {
        transform: translate(150px);
    }
    
    .drive-step-position:nth-child(1) { transform: rotate(0deg) translate(150px); }
    .drive-step-position:nth-child(2) { transform: rotate(72deg) translate(150px); }
    .drive-step-position:nth-child(3) { transform: rotate(144deg) translate(150px); }
    .drive-step-position:nth-child(4) { transform: rotate(216deg) translate(150px); }
    .drive-step-position:nth-child(5) { transform: rotate(288deg) translate(150px); }
    
    .drive-step-icon {
        font-size: 20px;
    }
    
    .drive-step-label {
        font-size: 12px;
    }
    
    .drive-step-icon, .drive-step-label {
        transform-origin: center center;
    }
    
    .drive-process-content {
        padding: 15px 0;
    }

    .drive-value-content {
        padding: 20px 15px;
    }
    
    .drive-value-content h3 {
        font-size: 20px;
    }
}