/* About Page Styles */
:root {
    --primary-color: #0088a9;
    --secondary-color: #045c70;
    --text-color: #333;
    --light-color: #fff;
    --accent-color: #f6bd60;
    --timeline-color: #0088a9;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Banner */
.header-banner {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.header-banner h1 {
    font-size: 2.5rem;
    margin: 0 auto;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 15px;
}

/* Journey Section */
.journey-section {
    margin-bottom: 5rem;
}

/* Founder Section */
.founder-section {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.founder-image {
    flex: 0 0 200px;
    margin-right: 2rem;
}

.founder-image img {
    max-width: 100%;
    height: auto;
}

.founder-content {
    flex: 1;
    min-width: 300px;
}

.founder-content h2 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.founder-content p {
    font-size: 1.1rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 4rem auto;
    height: 550px;
}

.timeline-curve {
    position: absolute;
    top: 0;
    left: 10%;
    width: 90%;
    max-width: 449px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.timeline-item {
    display: flex;
    align-items: center;
    position: absolute;
    width: 595px;
    z-index: 2;
}

.timeline-item .timeline-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-item .timeline-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.timeline-item .timeline-content {
    margin-left: 1.5rem;
}

.timeline-item .timeline-content p {
    font-size: 1.1rem;
    margin: 0;
}

.timeline-item-1 {
    top: 20px;
    left: 160px;
}

.timeline-item-2 {
    top: 200px;
    left: 240px;
}

.timeline-item-3 {
    top: 400px;
    left: 180px;
}

/* Hide old dashed line */
.dashed-line {
    display: none !important;
}

/* Number Highlight */
.number-highlight {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-right: 5px;
}

/* Text Highlights */
.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Conclusion Section */
.conclusion {
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 4rem;
}

.conclusion p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Website Showcase */
.website-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.showcase-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.showcase-content p {
    font-size: 1.1rem;
}

.showcase-image {
    flex: 0 0 500px;
}

.showcase-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.showcase-image img:hover {
    transform: scale(1.02);
}

/* Social Media Section */
.social-section {
    text-align: center;
    margin-bottom: 4rem;
}

.social-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    z-index: 999;
    font-size: 20px;
    font-weight: bold;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .timeline {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        width: 90%;
        margin: 4rem auto;
    }

    .timeline-curve {
        display: none;
    }

    .timeline-item {
        position: static;
        width: 100%;
        flex-direction: row;
    }

    .timeline-item:not(:last-child) {
        padding-bottom: 3rem;
        position: relative;
    }

    .timeline-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50px;
        height: 3rem;
        border-left: 2px dashed #0088a9;
    }
}

@media screen and (max-width: 768px) {
    .header-banner h1 {
        font-size: 2rem;
    }

    .founder-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .founder-image {
        margin-bottom: 2rem;
        margin-right: 0;
    }

    .timeline-content {
        margin-left: 5rem;
    }

    .website-showcase {
        flex-direction: column;
    }

    .showcase-content {
        margin-bottom: 2rem;
        padding-right: 0;
    }

    .showcase-image {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .header-banner {
        padding: 2rem 0;
    }

    .header-banner h1 {
        font-size: 1.8rem;
    }

    .founder-content h2 {
        font-size: 1.5rem;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-item .timeline-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .timeline-item .timeline-content {
        margin-left: 0;
    }

    .timeline-item:not(:last-child)::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-content p,
    .founder-content p,
    .showcase-content p,
    .conclusion p,
    .social-section p {
        font-size: 1rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon img {
        width: 30px;
        height: 30px;
    }
}
