/* About Page Specific Styles */

/* Hero Section */
.about-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Elegant Wine-Themed Timeline */
.wine-timeline {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.03) 0%, rgba(218, 161, 76, 0.08) 100%);
    border-radius: 30px;
    margin: 2rem 0;
    overflow: hidden;
}

/* Background Wine Icons */
.wine-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-icon {
    position: absolute;
    opacity: 0.1;
    color: var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

.bg-icon i {
    font-size: 2rem;
}

.wine-bottle-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.wine-bottle-2 {
    top: 20%;
    right: 8%;
    animation-delay: 1s;
}

.grape-cluster-1 {
    top: 60%;
    left: 3%;
    animation-delay: 2s;
}

.grape-cluster-1 i {
    font-size: 1.5rem;
    color: #8B4513;
}

.grape-cluster-2 {
    top: 70%;
    right: 5%;
    animation-delay: 3s;
}

.grape-cluster-2 i {
    font-size: 1.5rem;
    color: #8B4513;
}

.cabinet-1 {
    top: 40%;
    left: 10%;
    animation-delay: 0.5s;
}

.cabinet-2 {
    top: 50%;
    right: 12%;
    animation-delay: 1.5s;
}

.wine-glass-1 {
    top: 80%;
    left: 15%;
    animation-delay: 2.5s;
}

.wine-glass-2 {
    top: 30%;
    right: 3%;
    animation-delay: 3.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(139, 69, 19, 0.4) 0%, 
        rgba(218, 161, 76, 0.9) 50%, 
        rgba(139, 69, 19, 0.4) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(218, 161, 76, 0.4);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        #b98b4e 100%);
    border-radius: 2px;
    transition: height 2s ease;
    animation: timelineProgress 3s ease-out forwards;
}

@keyframes timelineProgress {
    to {
        height: 100%;
    }
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1.0s; }
.timeline-item:nth-child(6) { animation-delay: 1.2s; }
.timeline-item:nth-child(7) { animation-delay: 1.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Marker */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.marker-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(218, 161, 76, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.marker-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary-color), #b98b4e);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marker-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(218, 161, 76, 0.2);
}

.marker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.marker-circle.active {
    background: linear-gradient(135deg, var(--primary-color), #b98b4e);
    border-color: #ffffff;
    transform: scale(1.1);
}

.marker-circle.active::before {
    opacity: 1;
}

.marker-circle.active .marker-image {
    border-color: rgba(255, 255, 255, 0.3);
}

.marker-year {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #b98b4e);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(218, 161, 76, 0.4);
}

/* Timeline Content */
.timeline-content {
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 3rem;
}

.content-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(218, 161, 76, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #b98b4e);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(218, 161, 76, 0.25);
    border-color: rgba(218, 161, 76, 0.4);
}

.content-card.active {
    background: linear-gradient(135deg, rgba(218, 161, 76, 0.05) 0%, #ffffff 100%);
    border-color: var(--primary-color);
}

.content-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-image img {
    transform: scale(1.05);
}

.content-body {
    padding: 2rem;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.content-header h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.4rem;
}

.content-header .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
}

.content-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-footer {
    border-top: 1px solid rgba(218, 161, 76, 0.1);
    padding-top: 1rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.achievement i {
    font-size: 1rem;
}

/* Story Summary */
.story-summary {
    border: 1px solid rgba(218, 161, 76, 0.15);
    background: linear-gradient(135deg, rgba(218, 161, 76, 0.03) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.story-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #b98b4e);
}

.summary-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.story-stats {
    flex-wrap: wrap;
}

.story-stats .stat-item {
    text-align: center;
    padding: 1rem;
}

.story-stats .stat-item h5 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.story-stats .stat-item p {
    font-size: 0.8rem;
    margin: 0;
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.value-icon {
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(218, 161, 76, 0.1);
}

/* Team Section */
.team-section {
    background-color: #ffffff;
}

.team-card {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b98b4e 100%);
    color: white;
}

.cta-section .main-heading {
    color: white !important;
}

.cta-section .paragraph {
    color: rgba(255,255,255,0.9) !important;
}

.btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-hero-section {
        padding: 60px 0;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem !important;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        padding-left: 2rem !important;
        padding-right: 0 !important;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 2rem;
    }
    
    .marker-circle {
        width: 70px;
        height: 70px;
    }
    
    .marker-image {
        width: 55px;
        height: 55px;
    }
    
    .marker-year {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        top: -35px;
    }
    
    .content-image {
        height: 150px;
    }
    
    .content-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-stats .stat-item h3 {
        font-size: 2rem;
    }
    
    .main-heading {
        font-size: 2rem !important;
    }
    
    .value-card {
        margin-bottom: 1rem;
    }
    
    .team-card {
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        padding-left: 1.5rem !important;
    }
    
    .marker-circle {
        width: 60px;
        height: 60px;
    }
    
    .marker-image {
        width: 45px;
        height: 45px;
    }
    
    .marker-year {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        top: -30px;
    }
    
    .content-image {
        height: 120px;
    }
    
    .content-body {
        padding: 1rem;
    }
    
    .content-header h4 {
        font-size: 1.2rem;
    }
    
    .bg-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-hero-section {
        padding: 40px 0;
    }
    
    .min-vh-75 {
        min-height: 60vh;
    }
    
    .hero-stats .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px !important;
        padding-left: 1rem !important;
    }
    
    .marker-circle {
        width: 50px;
        height: 50px;
    }
    
    .marker-image {
        width: 35px;
        height: 35px;
    }
    
    .marker-year {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
        top: -25px;
    }
    
    .content-image {
        height: 100px;
    }
    
    .content-body {
        padding: 0.8rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .content-header h4 {
        font-size: 1rem;
    }
    
    .story-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bg-icon {
        display: none;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b98b4e;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Timeline Hover Effects */
.timeline-item:hover .marker-circle {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 15px 40px rgba(218, 161, 76, 0.5);
}

.timeline-item:hover .marker-circle::before {
    opacity: 1;
}

.timeline-item:hover .marker-image img {
    transform: scale(1.1);
}

/* Content Card Hover Effects */
.content-card:hover .content-header h4 {
    color: var(--primary-color);
}

.content-card:hover .achievement {
    color: var(--primary-color);
}

/* Wine Theme Enhancements */
.wine-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="wine-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="%23daa14c" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23wine-pattern)"/></svg>');
    border-radius: 30px;
    pointer-events: none;
    z-index: 1;
}

/* Timeline Progress Animation */
.timeline-progress {
    animation: timelineProgress 4s ease-out forwards;
    animation-delay: 1s;
}

/* Marker Pulse Animation */
.marker-circle::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(218, 161, 76, 0.3);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Content Card Entrance Animation */
.content-card {
    animation: slideIn 0.8s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Story Summary Animation */
.story-summary {
    animation: fadeInScale 1s ease forwards;
    animation-delay: 2s;
    opacity: 0;
    transform: scale(0.9);
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Summary Icon Animation */
.summary-icon {
    animation: wineGlow 2s ease-in-out infinite alternate;
}

@keyframes wineGlow {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* --- Wine Roadmap Vertical Timeline Styles --- */
.wine-roadmap-vertical {
    position: relative;
    min-height: 1200px;
    margin: 3rem 0 2rem 0;
    background: linear-gradient(135deg, rgba(139,69,19,0.02) 0%, rgba(218,161,76,0.05) 100%);
    border-radius: 30px;
    overflow: visible;
}

.wine-road-svg {
    display: block;
    width: 100%;
    max-width: 400px;
    height: 1200px;
    margin: 0 auto;
    z-index: 1;
    pointer-events: none;
}

.wine-roadmap-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.roadmap-card {
    position: absolute;
    width: 260px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(139,69,19,0.10), 0 1.5px 6px rgba(218,161,76,0.10);
    border: 1.5px solid #f3e6d0;
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    margin-left: 60px;
    margin-right: 60px;
    pointer-events: auto;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1rem;
}
.roadmap-card:hover {
    box-shadow: 0 12px 36px rgba(139,69,19,0.18), 0 2px 8px rgba(218,161,76,0.15);
    transform: translateY(-4px) scale(1.03);
}
.roadmap-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8B1E3F;
    background: #f8e7d1;
    border-radius: 12px;
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}
.roadmap-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 0.1rem;
}
.roadmap-desc {
    color: #6c4a2b;
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
}
.roadmap-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 0.2rem;
    box-shadow: 0 2px 8px rgba(139,69,19,0.08);
}

/* Positioning for left/right cards */
.wine-roadmap-cards .roadmap-card[left] { left: 40px; margin-left: 60px; }
.wine-roadmap-cards .roadmap-card[right] { right: 40px; margin-right: 60px; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .wine-roadmap-vertical {
        min-height: 900px;
    }
    .wine-road-svg {
        height: 900px;
    }
    .roadmap-card {
        width: 210px;
        font-size: 0.97rem;
        padding: 1rem 1rem 0.8rem 1rem;
        margin-left: 40px;
        margin-right: 40px;
    }
    .roadmap-img {
        height: 70px;
    }
}
@media (max-width: 767px) {
    .wine-roadmap-vertical {
        min-height: 700px;
        padding: 1rem 0;
    }
    .wine-road-svg {
        height: 700px;
        max-width: 98vw;
    }
    .roadmap-card {
        width: 90vw;
        left: 5vw !important;
        right: auto !important;
        font-size: 0.95rem;
        padding: 0.8rem 0.8rem 0.7rem 0.8rem;
        margin-left: 0;
        margin-right: 0;
    }
    .roadmap-img {
        height: 55px;
    }
}
@media (max-width: 500px) {
    .wine-roadmap-vertical {
        min-height: 500px;
    }
    .wine-road-svg {
        height: 500px;
    }
    .roadmap-card {
        width: 96vw;
        left: 2vw !important;
        right: auto !important;
        font-size: 0.93rem;
        padding: 0.7rem 0.7rem 0.6rem 0.7rem;
        margin-left: 0;
        margin-right: 0;
    }
    .roadmap-img {
        height: 40px;
    }
}

/* Background wine-themed illustrations */
.wine-roadmap-bg-illus {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.wine-roadmap-bg-illus svg {
    position: absolute;
    opacity: 0.08;
    filter: blur(0.5px);
}
.bg-illus-bottle { top: 8%; left: 10%; width: 48px; }
.bg-illus-cabinet { top: 60%; left: 80%; width: 54px; }
.bg-illus-grapes { top: 40%; left: 20%; width: 38px; }
.bg-illus-farm { top: 85%; left: 50%; width: 80px; transform: translateX(-50%); }

@media (max-width: 767px) {
    .wine-roadmap-bg-illus svg { width: 28px !important; }
    .bg-illus-farm { width: 50px !important; }
}

/* --- Lagar-Style Timeline (Icon-Only) --- */
.lagar-timeline {
    position: relative;
    width: 100%;
    min-height: 900px;
    padding: 2rem 0;
}
.lagar-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8B4513 0%, #daa14c 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
}
.lagar-timeline-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}
.lagar-timeline-item.left {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: right;
}
.lagar-timeline-item.right {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
}
.lagar-timeline-marker {
    width: 64px;
    height: 64px;
    background: #fff;
    border: 4px solid #daa14c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(139,69,19,0.10);
    z-index: 3;
    margin: 0 18px;
    position: relative;
}
.lagar-timeline-marker img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.lagar-timeline-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(139,69,19,0.10);
    border: 1.5px solid #f3e6d0;
    padding: 1.1rem 1.3rem 1.1rem 1.3rem;
    min-width: 210px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 1rem;
    margin: 0 0.5rem;
}
.lagar-timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8B1E3F;
    background: #f8e7d1;
    border-radius: 12px;
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
    display: inline-block;
}
.lagar-timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 0.1rem;
}
.lagar-timeline-desc {
    color: #6c4a2b;
    font-size: 0.98rem;
    margin-bottom: 0.1rem;
}

@media (max-width: 991px) {
    .lagar-timeline {
        min-height: 600px;
    }
    .lagar-timeline-card {
        min-width: 150px;
        max-width: 220px;
        font-size: 0.97rem;
        padding: 0.8rem 1rem 0.8rem 1rem;
    }
    .lagar-timeline-marker {
        width: 48px;
        height: 48px;
    }
    .lagar-timeline-marker img {
        width: 28px;
        height: 28px;
    }
}
@media (max-width: 767px) {
    .lagar-timeline {
        min-height: 400px;
        padding: 1rem 0;
    }
    .lagar-timeline-line {
        left: 20px;
    }
    .lagar-timeline-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 2.5rem;
    }
    .lagar-timeline-marker {
        margin: 0 12px 0 0;
    }
    .lagar-timeline-card {
        min-width: 0;
        max-width: 95vw;
        font-size: 0.95rem;
        padding: 0.7rem 0.8rem 0.7rem 0.8rem;
    }
}

/* --- Curved Timeline Styles (Lagar Reference) --- */
.curved-timeline-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 0;
}
.curved-timeline-path {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 1200px;
    z-index: 1;
    pointer-events: none;
}
.curved-timeline-path path {
    transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1);
}
.milestone-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 120px 0;
    z-index: 2;
}
.milestone-illustration {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    z-index: 2;
}
.milestone-content {
    margin-left: 48px;
    text-align: left;
    max-width: 400px;
}
@media (max-width: 991px) {
    .curved-timeline-wrapper {
        padding: 60px 0;
    }
    .curved-timeline-path {
        width: 60px;
        height: 900px;
    }
    .milestone-illustration {
        width: 100px;
        height: 100px;
    }
    .milestone-content {
        margin-left: 24px;
        max-width: 300px;
    }
    .milestone-row {
        margin: 70px 0;
    }
}
@media (max-width: 767px) {
    .curved-timeline-wrapper {
        padding: 30px 0;
    }
    .curved-timeline-path {
        width: 40px;
        height: 700px;
    }
    .milestone-row {
        flex-direction: column;
        align-items: flex-start;
        margin: 40px 0;
    }
    .milestone-illustration {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    .milestone-content {
        margin-left: 0;
        max-width: 95vw;
    }
}

/* Fade-in-up animation for milestones */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Single-Sided Milestone Card Styles (Reference) --- */
.milestone-card.single {
    left: 0 !important;
    right: auto !important;
    width: 600px;
    max-width: 98vw;
    flex-direction: row;
    text-align: left;
    background: none;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}
.milestone-card.single .milestone-illustration {
    width: 120px;
    height: 120px;
    margin-right: 32px;
    margin-left: 0;
}
.milestone-card.single .milestone-content {
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
}
.milestone-card .milestone-year.gold {
    color: #b98b4e;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 0.2rem;
    font-family: 'Plus Jakarta Sans', serif;
}
@media (max-width: 991px) {
    .milestone-card.single {
        width: 95vw;
        max-width: 95vw;
    }
    .milestone-card.single .milestone-illustration {
        width: 70px;
        height: 70px;
        margin-right: 18px;
    }
}
@media (max-width: 767px) {
    .milestone-card.single {
        width: 98vw;
        max-width: 98vw;
        flex-direction: row;
        text-align: left;
    }
    .milestone-card.single .milestone-illustration {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }
}

.milestone-illumination {
    position: relative;
}
.milestone-illumination img {
    z-index: 2;
    position: relative;
}
.milestone-illumination::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218,161,76,0.10) 0%, rgba(255,255,255,0.0) 80%);
    z-index: 1;
    filter: blur(2px);
}
@media (max-width: 991px) {
    .milestone-illumination::before {
        width: 80px;
        height: 80px;
    }
}
@media (max-width: 767px) {
    .milestone-illumination::before {
        width: 50px;
        height: 50px;
    }
} 