:root {
    --primary: #d14d2a;
    --primary-light: #e27c61;
    --secondary: #2c3e50;
    --accent: #3498db;
    --light: #f9f9f9;
    --dark: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 80%;
    background: var(--primary);
    border-radius: 10px;
    z-index: 1;
}

.timeline-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--primary) 15%,
            var(--primary) 85%,
            transparent 100%);
}

.milestones {
    position: relative;
    z-index: 2;
}

.milestone {
    width: 45%;
    background: var(--light);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
    position: relative;
}

.milestone.visible {
    opacity: 1;
    transform: translateY(0);
}

.milestone:nth-child(odd) {
    margin-left: auto;
}

.milestone:nth-child(even) {
    margin-left: 0;
    margin-right: auto;
}

.milestone::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    border: 6px solid var(--light);
    box-shadow: 0 0 0 4px var(--primary);
}

.milestone:nth-child(odd)::before {
    left: -55px;
}

.milestone:nth-child(even)::before {
    right: -55px;
}

.year {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0px;
    display: flex;
    align-items: center;
}

.year i {
    margin-right: 12px;
    font-size: 1.8rem;
}

.desc {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.7;
}

.desc ul {
    padding-left: 20px;
    margin-top: 15px;
}

.desc li {
    margin-bottom: 8px;
    position: relative;
}

.desc li::marker {
    color: var(--primary);
}

.highlight {
    background: linear-gradient(120deg,
            rgba(209, 77, 42, 0.1) 0%,
            rgba(209, 77, 42, 0.05) 100%);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-top: 20px;
}

.footer {
    text-align: center;
    margin-top: 80px;
    padding: 30px;
    background: var(--secondary);
    color: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.logo {
    width: 180px;
    margin: 0 auto 20px;
    display: block;
    filter: brightness(0) invert(1);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .title {
        font-size: 2.8rem;
    }

    .milestone {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .milestone:nth-child(odd),
    .milestone:nth-child(even) {
        margin-left: auto;
        margin-right: auto;
    }

    .timeline-line {
        left: 40px;
    }

    .milestone::before {
        left: -55px !important;
        right: auto !important;
    }
}

@media (max-width: 576px) {
    .title {
        font-size: 2.2rem;
    }

    .milestone {
        width: 100%;
        padding: 20px;
    }

    .year {
        font-size: 1.8rem;
    }
}

/* Animation for road */
/* .road-animation {
    height: 120px;
    background: linear-gradient(90deg, #4b4b4b, #2c2c2c);
    border-radius: 60px;
    margin: 60px auto;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.road-animation::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 8px;
    background: repeating-linear-gradient(to right,
            #fff 0 40px,
            transparent 40px 80px);
    transform: translateY(-50%);
    opacity: 0.8;
    animation: roadMove 8s linear infinite;
}

@keyframes roadMove {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    100% {
        transform: translateY(-50%) translateX(-50%);
    }
} */

/* Decorative elements */
.decoration {
    position: absolute;
    z-index: 0;
}

.decoration-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(209, 77, 42, 0.1) 0%,
            rgba(209, 77, 42, 0.05) 100%);
}

.decoration-2 {
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(52, 152, 219, 0.1) 0%,
            rgba(52, 152, 219, 0.05) 100%);
}

/* Interactive elements */
.milestone:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.nav-btn {
    padding: 12px 25px;
    background: var(--light);
    border: none;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.nav-btn.active {
    background: var(--primary);
    color: white;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* new */
:root {
    --primary: #d14d2a;
    --primary-light: #e27c61;
    --secondary: #2c3e50;
    --accent: #3498db;
    --light: #f9f9f9;
    --dark: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.brands-section {
    /* background: var(--light); */
    border-radius: 16px;
    padding: 50px;
    margin: 60px 0;
    /* box-shadow: var(--shadow); */
    position: relative;
    overflow: hidden;
}



/* Carousel-2 Styles */
.carousel-2-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-2-item {
    flex: 0 0 calc(100% / 3 - 20px);
    margin: 0 10px;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.carousel-2-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    width: 100%;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.brand-location {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.carousel-2-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.carousel-2-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.carousel-2-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.carousel-2-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--primary) 50%, transparent 100%);
    margin: 60px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .carousel-2-item {
        flex: 0 0 calc(100% / 2 - 20px);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.8rem;
    }

    .brands-section {
        padding: 30px;
    }

    .carousel-2-item {
        flex: 0 0 calc(100% - 20px);
    }
}

@media (max-width: 576px) {
    .title {
        font-size: 2.2rem;
    }

    .brands-title {
        font-size: 2rem;
    }

    .carousel-2-item {
        padding: 20px;
        min-height: 220px;
    }
}