.connect-btn {
    background: #52a552;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.connect-btn:hover {
    background: #408040;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 165, 82, 0.3);
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, #f0f9f0 0%, #e8f4f8 100%); */
    min-height: 600px;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
    max-width: unset;
}

.hero-section .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #555;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.explore-btn {
    background: #52a552;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.4s both;
    display: inline-block;
}

.explore-btn:hover {
    background: #408040;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(82, 165, 82, 0.3);
}

.hero-visual {
    position: relative;
    /* height: 400px; */
    animation: floatIn 0.8s ease-out 0.2s both;
}

@keyframes floatIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 400"><path d="M50 100 L100 80 L120 120 L110 160 L80 170 L40 140 Z" fill="none" stroke="%23ddd" stroke-width="1"/><circle cx="60" cy="100" r="3" fill="%2352A552" opacity="0.3"/><circle cx="90" cy="85" r="3" fill="%2352A552" opacity="0.3"/><circle cx="110" cy="110" r="3" fill="%2352A552" opacity="0.3"/><circle cx="100" cy="140" r="3" fill="%2352A552" opacity="0.3"/><circle cx="70" cy="155" r="3" fill="%2352A552" opacity="0.3"/></svg>') center/contain no-repeat;
}

.map-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #52a552;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    box-shadow: 0 0 20px rgba(82, 165, 82, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(82, 165, 82, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(82, 165, 82, 0.6);
    }
}

.node-1 {
    top: 20%;
    left: 35%;
    animation-delay: 0s;
}

.node-2 {
    top: 15%;
    left: 50%;
    animation-delay: 0.2s;
}

.node-3 {
    top: 30%;
    left: 60%;
    animation-delay: 0.4s;
}

.node-4 {
    top: 45%;
    left: 65%;
    animation-delay: 0.6s;
}

.node-5 {
    top: 60%;
    left: 55%;
    animation-delay: 0.8s;
}

.node-6 {
    top: 75%;
    left: 40%;
    animation-delay: 1s;
}

.node-7 {
    top: 80%;
    left: 25%;
    animation-delay: 1.2s;
}

.node-8 {
    top: 65%;
    left: 20%;
    animation-delay: 1.4s;
}

.node-9 {
    top: 50%;
    left: 30%;
    animation-delay: 1.6s;
}

.geo-shape {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="10,30 20,10 40,20 50,45 35,60 15,50" fill="none" stroke="%23ddd" stroke-width="0.5"/><line x1="10" y1="30" x2="50" y2="45" stroke="%23ddd" stroke-width="0.5"/><line x1="20" y1="10" x2="35" y2="60" stroke="%23ddd" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Who We Are Section */
.who-we-are {
    background: #185d6b;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* .who-we-are h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
} */

.who-we-are p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Culture Section */
.culture {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    background: #f5fafe;
    align-items: center;
    min-height: 500px;
    position: relative;
}

.culture-content h2 {
    /* font-size: 2rem;
    margin-bottom: 1.5rem; */
    color: #1a1a1a;
}

.culture-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.culture-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.culture-visual::before {
    content: "";
    background: #a4ead0;
    /* background: linear-gradient(90deg, rgba(164, 234, 208, 1) 0%, rgba(200, 211, 244, 1) 50%, rgba(191, 191, 234, 1) 100%); */
    background-image: url("/assets/our-journey/Blur-Gradient.png");
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Milestones Section */
.milestones {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.milestones h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 2rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

:root {
    --primary-green: #59a640;
    --light-green: #90d473;
    --dark-text: #333;
    --light-text: #666;
}

/* --- TIMELINE WRAPPER --- */
.timeline-wrapper {
    background: white;
    padding: 150px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 80%;
    text-align: center;
    margin: auto;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 60px;
}

/* --- TIMELINE LIST & LINE --- */
.timeline-list {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
    display: flex;
    justify-content: space-between;
}

/* The horizontal dotted line */
.timeline-list::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background-image: linear-gradient(to right,
            var(--light-green) 50%,
            transparent 50%);
    background-size: 15px 4px;
    background-repeat: repeat-x;
    z-index: 1;
}

/* --- INDIVIDUAL ITEM --- */
.timeline-item {
    position: relative;
    width: 18%;
    /* Adjust based on the number of items */
    z-index: 2;
    /* Ensure items are above the line */
    opacity: 0;
    /* Hidden by default for animation */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation class added by JS */
.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- DOTS --- */
.timeline-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 5px solid var(--primary-green);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    z-index: 3;
}

/* --- YEAR & CONTENT (Alternating) --- */

/* New Temp Timeline logic */
.timeline-circle-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 5px solid var(--primary-green);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    z-index: 3;
}

/* The Year (Positioned ABOVE the circle) */
.timeline-circle-year {
    position: absolute;
    left: 50%;
    bottom: 25px;
    /* Sits 25px above the center point */
    transform: translateX(-50%);
    /* Only horizontal centering */
    text-align: center;
    min-width: 150px;
    z-index: 3;
}

.timeline-circle-year p {
    font-size: 1.1em;
    font-weight: bold;
}

/* The Content (Positioned BELOW the circle) */
.timeline-circle-content {
    position: absolute;
    left: 50%;
    /* Depends on the circles width */
    top: 15px;
    /* Sits 25px below the center point */
    transform: translateX(-50%);
    /* Only horizontal centering */
    text-align: center;
    min-width: 150px;
    z-index: 3;
}

/* Target every second item */
.timeline-circle-container:nth-child(even) .timeline-circle-year {
    /* Move Year from Top to Bottom */
    bottom: auto;
    top: 25px;
}

.timeline-circle-container:nth-child(even) .timeline-circle-content {
    /* Move Content from Bottom to Top */
    top: auto;
    bottom: 15px;
    display: flex;
    flex-direction: column-reverse;

}

.timeline-circle-content-inner-line-container {
    /* Moves the container back by half its width */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers children (line and dot) horizontally */
    /* width: 2px; */
    /* Set width to match the line to avoid "invisible" width issues */
}

.timeline-circle-content-inner-line-vertical {
    width: 2px;
    height: 35px;
    background: var(--light-text);
}

.timeline-circle-content-inner-line-circle {
    width: 6px;
    height: 6px;
    background: black;
    border-radius: 50%;
}

/* EVERY SECOND ITEM (Even) */
.timeline-circle-container:nth-child(even) .timeline-circle-content-inner-line-container {
    flex-direction: column-reverse;
    /* Puts the dot on the opposite side */
    margin-top: 5px;
    /* Adjust spacing when below the circle */
}

/* For items where the content is ABOVE the timeline (Odd) */
.timeline-circle-container:nth-child(odd) .timeline-circle-content-inner-line-container {
    margin-bottom: 5px;
    /* Adjust spacing when above the circle */
}



/* Default for Content: Top */
.timeline-content {
    position: absolute;
    width: 100%;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--dark-text);
    font-size: 0.95em;
    font-weight: 500;
}

/* Default for Year: Bottom */
.timeline-year {
    position: absolute;
    width: 100%;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--dark-text);
    font-weight: bold;
    font-size: 1.1em;
}

/* Content Below Line (Events 1, 3, 5) */
.timeline-list li:nth-child(odd) .timeline-content {
    top: auto;
    /* Reset top */
    bottom: -100px;
}

/* Year Above Line (Events 1, 3, 5) */
.timeline-list li:nth-child(odd) .timeline-year {
    top: -44px;
    bottom: auto;
    /* Reset bottom */
}

/* --- VERTICAL CONNECTING LINES --- */

/* Connects Top Text to Dot */
.timeline-item:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 35px;
    background: var(--light-text);
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Connects Bottom Text to Dot */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 35px;
    background: var(--light-text);
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Connects Top Year to Dot */
.timeline-item:nth-child(odd) .timeline-year::after {
    content: "";
    position: absolute;
    width: 2px;
    background: var(--light-text);
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Connects Bottom Year to Dot */
.timeline-item:nth-child(even) .timeline-year::after {
    content: "";
    position: absolute;
    width: 2px;
    background: var(--light-text);
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- READ MORE BUTTON --- */
.read-more-button {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 40px;
    transition: background-color 0.3s;
}

.read-more-button:hover {
    background-color: #4a8c32;
}

.read-more-btn {
    background: #52a552;
    color: white;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.read-more-btn:hover {
    background: #408040;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(82, 165, 82, 0.3);
}

/* Partner Ecosystem Section */
.partner-ecosystem {
    background: #185d6b;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

/* Refer to global.css for the font size */
/* .partner-ecosystem h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
} */

.partner-ecosystem img {
    height: 60px;
    width: 100px;
    object-fit: contain;
    background-size: unset;
    mix-blend-mode: multiply;
}

.partner-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    animation: fadeInUp 0.8s ease-out backwards;
    width: 13%;
    display: flex;
    justify-content: center;
}

.partner-logo:nth-child(1) {
    animation-delay: 0.1s;
}

.partner-logo:nth-child(2) {
    animation-delay: 0.2s;
}

.partner-logo:nth-child(3) {
    animation-delay: 0.3s;
}

.partner-logo:nth-child(4) {
    animation-delay: 0.4s;
}

.partner-logo:nth-child(5) {
    animation-delay: 0.5s;
}

.partner-logo:hover {
    /* background: rgba(82, 165, 82, 0.2); */
    transform: translateY(-5px);
    /* box-shadow: 0 8px 20px rgba(82, 165, 82, 0.2); */
}

/* Awards Section */
.awards {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.awards h2 {
    /* font-size: 2rem; */
    /* margin-bottom: 2rem; */
    color: #1a1a1a;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.award-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out backwards;
}

.award-item:nth-child(1) {
    animation-delay: 0.1s;
}

.award-item:nth-child(2) {
    animation-delay: 0.2s;
}

.award-item:nth-child(3) {
    animation-delay: 0.3s;
}

.award-item:nth-child(4) {
    animation-delay: 0.4s;
}

.award-icon {
    width: 180px;
    margin: 0 auto 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.award-item:hover .award-icon {
    background: #ffffff;
    color: white;
    transform: scale(1.1);
}

.award-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.awards img {
    max-width: 100%;
}

/* Project Highlights Section */
.project-highlights {
    background: #185d6b;
    color: white;
    padding: 3rem 2rem;
}

.project-highlights h2 {
    text-align: center;
    /* font-size: 2rem;
    margin-bottom: 2rem; */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
    cursor: pointer;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:hover {
    background: rgba(82, 165, 82, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(82, 165, 82, 0.2);
}

/* Refer to the global.css for the font size */
/* .project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
} */

.project-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    background: rgba(82, 165, 82, 0.2);
    color: #52a552;
    padding: 0.8rem 1.5rem;
    border: 1px solid #52a552;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #52a552;
    color: white;
    transform: translateX(5px);
}

/* Leadership Section */
.leadership {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.leadership h2 {
    /* font-size: 2rem;
    margin-bottom: 3rem; */
    color: #1a1a1a;
}

.leadership-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.leader-card {
    animation: fadeInUp 0.8s ease-out backwards;
}

.leader-card:nth-child(1) {
    animation-delay: 0.1s;
}

.leader-card:nth-child(2) {
    animation-delay: 0.2s;
}

.leader-card:nth-child(3) {
    animation-delay: 0.3s;
}

.leader-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #52a552 0%, #408040 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(82, 165, 82, 0.2);
}

.leader-card:hover .leader-avatar {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 12px 30px rgba(82, 165, 82, 0.3);
}

.leader-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
}

.leader-card p {
    font-size: 0.85rem;
    color: #999;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* .footer-section a {
    display: block;
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    transition: color 0.3s ease;
} */

.footer-section a:hover {
    color: #52a552;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: #52a552;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #408040;
    transform: translateY(-3px);
}

.culture .culture-visual img.bg-gradient {
    position: absolute;
    left: 40%;
    top: 0;
    z-index: -3;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .culture {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .timeline::before {
        left: 15px;
        top: 0;
        bottom: 0;
        right: auto;
        width: 2px;
        height: auto;
    }

    .milestone-item {
        margin-left: 3rem;
        text-align: left;
    }

    .culture img {
        max-width: 100%;
    }

    .hero-section img {
        max-width: 100%;
    }

    .hero-section .hero {
        grid-template-columns: 1fr;
    }

    .culture .culture-visual img.bg-gradient {
        left: 0;
    }

    .timeline-wrapper {
        width: 100%;
        margin-bottom: 15px;
    }

    .partner-ecosystem {
        padding: 4rem 1rem;
    }

    .partner-logos {
        gap: 12px;
    }

    .partner-logo {
        width: unset;
    }

    .partner-ecosystem img {
        height: 50px;
        width: 50px;
    }

    .awards-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .awards img {
        height: 100px;
        object-fit: contain;
    }
}

/* --- RESPONSIVE STYLES for timeline --- */

/* Tablet and Phone (Screens smaller than 992px) */
@media (max-width: 992px) {
    .timeline-wrapper {
        width: 95%;
        padding: 50px 20px;
        /* Reduce excessive desktop padding */
    }

    .timeline-list {
        flex-direction: column;
        /* Stack items vertically */
        align-items: flex-start;
        padding-left: 40px;
        /* Space for the vertical line */
        margin-left: 20px;
    }

    /* Change horizontal dotted line to a vertical dotted line */
    /* .timeline-list::before {
        width: 4px;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        background-image: linear-gradient(to bottom,
                var(--light-green) 50%,
                transparent 50%);
        background-size: 4px 15px;
    } */

    /* Use this style for mobile version of the timeline green line */
    .timeline-list::before {
        content: "";
        position: absolute;
        top: 50%;

        /* Need it to the left side */
        left: -4px;
        /* top: 0; */

        transform: translateY(-50%);
        width: 4px;
        height: 100%;
        /* Create the dash: Color for 50%, Transparent for 50% */
        background-image: linear-gradient(to bottom, var(--light-green) 50%, transparent 50%);
        background-size: 15px 4px;
        background-repeat: repeat-y;
        z-index: 1;
    }

    .timeline-item {
        width: 100%;
        /* Full width for text */
        margin-bottom: 60px;
        /* Space between events */
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    /* Reposition Dots to the left vertical line */
    .timeline-item::after {
        left: -40px;
        /* Aligns with the new vertical line */
        top: 20px;
        transform: translate(-50%, 0);
    }

    /* Reset absolute positioning for Year and Content */
    .timeline-content,
    .timeline-year,
    .timeline-list li:nth-child(odd) .timeline-content,
    .timeline-list li:nth-child(odd) .timeline-year {
        position: static;
        transform: none;
        width: 100%;
        text-align: left;
        bottom: auto;
        top: auto;
    }

    /* Ensure Year stays above Content in the vertical stack */
    .timeline-year {
        order: 1;
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .timeline-content {
        order: 2;
    }

    /* Hide the decorative vertical connecting lines from desktop */
    .timeline-item::after,
    .timeline-content::after,
    .timeline-year::after,
    .timeline-item:nth-child(even) .timeline-content::after,
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-year::after,
    .timeline-item:nth-child(odd) .timeline-year::after {
        display: none;
    }

    /* Re-add the dot specifically for vertical view */
    .timeline-item::after {
        display: block;
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        left: -42px;
        top: 4px;
        border: 4px solid var(--primary-green);
    }
}

/* Specific adjustments for small Phones */
@media (max-width: 480px) {
    .milestones h2 {
        font-size: 1.5rem;
    }

    .timeline-year {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }
}


@media screen and (max-width: 1024px) {

    /* 1. Reset the List Layout */
    .timeline-list {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
        /* Space for the vertical line and circles */
        gap: 20px;
        /* Vertical spacing between milestones */
    }

    /* 2. Vertical Green Dashed Line */
    .timeline-list::before {
        width: 4px;
        height: 100%;
        top: 0;
        left: 18px;
        /* Position line inside the padding */
        transform: none;
        background-image: linear-gradient(to bottom, var(--light-green) 50%, transparent 50%);
        background-size: 4px 15px;
        background-repeat: repeat-y;
    }

    /* 3. Reset the Item Container */
    .timeline-circle-container {
        display: block;
        /* Switch from flex to block for simple stacking */
        width: 100%;
        /* height: auto; */
        position: relative;
        height: fit-content;
        display: flex;
        flex-direction: column-reverse;

    }

    /* 4. Position the Circle on the Line */
    .timeline-circle {
        /* position: relative; */
        left: -20px;
        /* Align center of circle (30px) with line (20px) */
        top: 0;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-end;

    }

    .timeline-circle-year,
    .timeline-circle-content {
        /* padding-left: 30px; */
        position: relative !important;
        inset: auto !important;
        /* Resets top, bottom, left, right all at once */
        transform: none !important;
        text-align: left !important;
        width: 100%;
        display: block !important;
        flex-direction: column !important;
        /* Ensures no column-reverse is active */
    }

    .timeline-circle-content p {
        /* display: none; */
    }

    /* 6. Hide the connector lines entirely */
    .timeline-circle-content-inner-line-container {
        display: none !important;
    }
}