/* Add this at the very beginning of expstyle.css */

/* Import fonts from about.html */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');

/* Root variables from about.html */
:root {
    --primary-font: 'Libre Baskerville', sans-serif;
    --heading-font: 'Libre Baskerville', serif;
    --text-color: #333;
    --background-light: #F9f5ef; /* Very light beige/off-white from Gigi */
    --border-color: #e0ded7; /* Subtle border/line color from Gigi */
    --dark-grey: #666;
    --accent-color: #bb2f63; /* Muted blue from Gigi's links */
    --subtle-accent: #FFFF; /* Lighter shade for subtle elements */
    --nav-bg: #FBFAF2; /* Slightly transparent white */
    --nav-item-bg-hover: var(--subtle-accent);
    --nav-item-text: var(--text-color);
    --nav-item-text-hover: var(--accent-color);
    --rosy-taupe: #7B6155;
    --muted-grey: #A8A29E;
    
    /* Add some spacing variables for consistency */
    --spacing-1: 0.5rem;
    --spacing-2: 1rem;
    --spacing-3: 1.5rem;
    --spacing-4: 2rem;
    
    /* Add some common properties */
    --font-weight-light: 300;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Box shadows */
    --box-shadow-light: 0 2px 10px rgba(0,0,0,0.03);
    --box-shadow-hover: 0 4px 20px rgba(0,0,0,0.1);
    
    /* Colors for timeline and experience items */
    --color-white: #ffffff;
    --color-text-dark: var(--text-color);
    --color-text-medium: var(--dark-grey);
    --color-text-light: var(--muted-grey);
}


body {
    margin: 0;
    font-family: var(--primary-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #F9f5ef; /* Same background as about.html */
}

/* Link styles to match about.html */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #4a54c9; /* Slightly darker accent on hover, same as about.html */
}

/* Header styles to match about.html fonts */
.site-header {
    font-family: var(--primary-font);
}

.site-header h1 {
    font-family: var(--heading-font);
    color: var(--text-color);
}

.site-header p {
    color: var(--dark-grey);
}

.site-nav a {
    font-family: var(--primary-font);
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
}

.site-nav a:hover {
    color: var(--accent-color);
}



/* ==========================================================================
   Experiences Section
   ========================================================================== */
.experiences-section {
    padding: var(--spacing-4) 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: var(--spacing-4) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #BCBCA7;
    /* background: linear-gradient(
        to bottom,
        #c8dbe3,
        #b2d8a6,
        #ada6a3,
        #e82664
    ); */
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.static-active,
.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: 55%;
}

.timeline-item:nth-child(even) {
    padding-left: 55%;
    text-align: right;
}

.timeline-content {
    background: var(--color-white);
    padding: var(--spacing-4);
    box-shadow: var(--box-shadow-light);
    position: relative;
    transition: all 0.4s ease;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid var(--color-white);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-right: 15px solid var(--color-white);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-white);
    border: 4px solid;
    z-index: 10;
    transition: all 0.4s ease;
    border-color: #DCD1BF;
}

/* .timeline-item:nth-child(1) .timeline-dot { border-color: #c8dbe3; }
.timeline-item:nth-child(2) .timeline-dot { border-color: #b2d8a6; }
.timeline-item:nth-child(3) .timeline-dot { border-color: #ada6a3; }
.timeline-item:nth-child(4) .timeline-dot { border-color: #e82664; }
.timeline-item:nth-child(5) .timeline-dot { border-color: #c8dbe3; }
.timeline-item:nth-child(6) .timeline-dot { border-color: #b2d8a6; } */

.timeline-item.active .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.experience-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: var(--font-weight-light);
    margin-bottom: var(--spacing-1);
    letter-spacing: 0.5px;
}

.experience-title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-1);
    color: var(--color-text-dark);
}

.experience-company {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-2);
    font-weight: var(--font-weight-medium);
}

.company-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    vertical-align: middle;
}

.experience-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: var(--spacing-2);
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-1);
}

.timeline-item:nth-child(even) .experience-skills {
    justify-content: flex-end;
}

.skill-tag {
    background: #F6DBdA;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #3B2E2A;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.1);
}
/* ==========================================================================
   Floating Elements
   ========================================================================== */
.floating-element {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.float-1 { top: 10%; left: 10%; width: 60px; height: 60px; background: #38d442; border-radius: 50%; animation: float 8s ease-in-out infinite; }
.float-2 { top: 30%; right: 15%; width: 40px; height: 40px; background: #b2d8a6; transform: rotate(45deg); animation: float 6s ease-in-out infinite reverse; }
.float-3 { bottom: 20%; left: 20%; width: 80px; height: 80px; background: #70136f; border-radius: 20px; animation: float 10s ease-in-out infinite; }
.float-4 { bottom: 40%; right: 25%; width: 50px; height: 50px; background: #e82664; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7s ease-in-out infinite reverse; }
.float-5 { top: 15%; left: 30%; width: 35px; height: 35px; background: #9bd7f5; transform: rotate(60deg); animation: float 7.5s ease-in-out infinite; }
.float-6 { bottom: 5%; right: 35%; width: 70px; height: 70px; background: #f7b762; border-radius: 25px; animation: float 9s ease-in-out infinite reverse; }
.float-7 { top: 50%; right: 5%; width: 45px; height: 45px; background: #d8a0f5; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.8s ease-in-out infinite; }
.float-8 { top: 5%; right: 50%; width: 60px; height: 60px; background: #b2d8a6; transform: rotate(15deg); animation: float 8s ease-in-out infinite reverse; }
.float-9 { bottom: 30%; left: 45%; width: 55px; height: 55px; background: #c8dbe3; border-radius: 10px; animation: float 11s ease-in-out infinite; }
.float-10 { top: 70%; left: 10%; width: 30px; height: 30px; background: #e82664; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6s ease-in-out infinite; }
.float-11 { bottom: 15%; left: 70%; width: 40px; height: 40px; background: #84d2f6; transform: rotate(75deg); animation: float 9.5s ease-in-out infinite reverse; }
.float-12 { top: 25%; right: 40%; width: 20px; height: 20px; background: #f0a35c; border-radius: 30px; animation: float 12s ease-in-out infinite; }
.float-13 { bottom: 60%; left: 5%; width: 50px; height: 50px; background: #ac79c2; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8.2s ease-in-out infinite reverse; }
.float-14 { top: 20%; left: 40%; width: 70px; height: 70px; background: #a76a0f; border-radius: 10px; animation: float 9s ease-in-out infinite; }
.float-15 { bottom: 10%; right: 90%; width: 55px; height: 55px; background: #0c5e3f; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); animation: float 11s ease-in-out infinite reverse; }
.float-16 { top: 105%; left: 60%; width: 40px; height: 40px; background: #b6416f; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.8s ease-in-out infinite; }
.float-17 { top: 120%; right: 30%; width: 50px; height: 50px; background: #87ceeb; transform: rotate(55deg); animation: float 8.5s ease-in-out infinite reverse; }
.float-18 { top: 135%; left: 5%; width: 75px; height: 75px; background: #f08080; border-radius: 40px; animation: float 9.8s ease-in-out infinite; }
.float-19 { top: 150%; right: 10%; width: 35px; height: 35px; background: #7b68ee; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.5s ease-in-out infinite; }
.float-20 { top: 160%; right: 40%; width: 45px; height: 45px; background: #daa520; transform: rotate(80deg); animation: float 11.2s ease-in-out infinite reverse; }
.float-21 { top: 110%; left: 25%; width: 60px; height: 60px; background: #9acd32; border-radius: 20px; animation: float 10.3s ease-in-out infinite; }
.float-22 { top: 165%; left: 80%; width: 55px; height: 55px; background: #ff6347; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.3s ease-in-out infinite reverse; }
.float-23 { top: 185%; left: 5%; width: 40px; height: 40px; background: #4682b4; transform: rotate(10deg); animation: float 9s ease-in-out infinite; }
.float-24 { top: 195%; right: 60%; width: 80px; height: 80px; background: #ba55d3; border-radius: 20px; animation: float 11.5s ease-in-out infinite reverse; }
.float-25 { top: 210%; left: 50%; width: 45px; height: 45px; background: #ffd700; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8.8s ease-in-out infinite; }
.float-26 { top: 225%; left: 70%; width: 30px; height: 30px; background: #20b2aa; transform: rotate(40deg); animation: float 7.1s ease-in-out infinite reverse; }
.float-27 { top: 240%; right: 5%; width: 50px; height: 50px; background: #ffb6c1; border-radius: 10px; animation: float 9.3s ease-in-out infinite; }
.float-28 { top: 255%; left: 30%; width: 60px; height: 60px; background: #b0e0e6; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 10.7s ease-in-out infinite; }
.float-29 { top: 270%; left: 10%; width: 35px; height: 35px; background: #8fbc8f; transform: rotate(65deg); animation: float 7.6s ease-in-out infinite reverse; }
.float-30 { top: 285%; right: 70%; width: 70px; height: 70px; background: #add8e6; border-radius: 25px; animation: float 12.5s ease-in-out infinite; }
.float-31 { top: 300%; left: 85%; width: 50px; height: 50px; background: #ffd966; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8s ease-in-out infinite; }
.float-32 { top: 315%; right: 15%; width: 40px; height: 40px; background: #c2dbe8; transform: rotate(30deg); animation: float 6.7s ease-in-out infinite reverse; }
.float-33 { top: 330%; left: 40%; width: 80px; height: 80px; background: #a9a9a9; border-radius: 30px; animation: float 10s ease-in-out infinite; }
.float-34 { top: 345%; left: 5%; width: 30px; height: 30px; background: #f4a460; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.2s ease-in-out infinite reverse; }
.float-35 { top: 360%; right: 50%; width: 55px; height: 55px; background: #afeeee; transform: rotate(70deg); animation: float 9.1s ease-in-out infinite; }
.float-36 { top: 375%; left: 70%; width: 65px; height: 65px; background: #e6e6fa; border-radius: 15px; animation: float 11.8s ease-in-out infinite reverse; }
.float-37 { top: 390%; right: 25%; width: 45px; height: 45px; background: #ffdead; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.9s ease-in-out infinite; }
.float-38 { top: 405%; left: 15%; width: 40px; height: 40px; background: #bdb76b; transform: rotate(50deg); animation: float 8.3s ease-in-out infinite; }
.float-39 { top: 420%; right: 35%; width: 70px; height: 70px; background: #87cefa; border-radius: 20px; animation: float 10.1s ease-in-out infinite reverse; }
.float-40 { top: 435%; left: 80%; width: 35px; height: 35px; background: #ffc0cb; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.5s ease-in-out infinite; }
.float-41 { top: 450%; left: 5%; width: 60px; height: 60px; background: #daa520; transform: rotate(20deg); animation: float 9.6s ease-in-out infinite reverse; }
.float-42 { top: 465%; right: 10%; width: 50px; height: 50px; background: #a2b5cd; border-radius: 10px; animation: float 11s ease-in-out infinite; }
.float-43 { top: 480%; left: 45%; width: 55px; height: 55px; background: #c6e2ff; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8.6s ease-in-out infinite reverse; }
.float-44 { top: 495%; right: 75%; width: 40px; height: 40px; background: #b0c4de; transform: rotate(60deg); animation: float 7.9s ease-in-out infinite; }
.float-45 { top: 510%; left: 60%; width: 80px; height: 80px; background: #d3d3d3; border-radius: 20px; animation: float 10.8s ease-in-out infinite reverse; }
.float-46 { top: 525%; left: 20%; width: 30px; height: 30px; background: #8fbc8f; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.2s ease-in-out infinite; }
.float-47 { top: 540%; right: 20%; width: 50px; height: 50px; background: #b2d8a6; transform: rotate(25deg); animation: float 9.4s ease-in-out infinite; }
.float-48 { top: 555%; left: 70%; width: 70px; height: 70px; background: #ada6a3; border-radius: 25px; animation: float 11.3s ease-in-out infinite reverse; }
.float-49 { top: 570%; left: 5%; width: 45px; height: 45px; background: #e82664; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.7s ease-in-out infinite; }
.float-50 { top: 585%; right: 50%; width: 60px; height: 60px; background: #c8dbe3; transform: rotate(45deg); animation: float 8.9s ease-in-out infinite reverse; }

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 80px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-item:nth-child(even) .timeline-content::after,
    .timeline-item:nth-child(odd) .timeline-content::after {
        left: -15px;
        right: auto;
        border-right: 15px solid var(--color-white);
        border-left: none;
    }

    .timeline-item:nth-child(even) .experience-skills {
        justify-content: flex-start;
    }

    .floating-element {
        display: none;
    }
}






/* Add these styles to the end of expstyle.css */
/* Add these styles to the end of expstyle.css */

/* Updated Footer Styles */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 5%;
    font-size: 0.9rem;
    color: var(--dark-grey);
    background-color: #fcfbf8;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    font-family: var(--primary-font);
}

.logo2 {
    width: 30px;
    height: auto;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    text-transform: lowercase;
    color: var(--muted-grey);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: var(--primary-font);
}

.footer-nav a:hover {
    color: var(--rosy-taupe);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    margin: 0;
    color: var(--dark-grey);
    font-family: var(--primary-font);
}

.footer-right a {
    color: var(--muted-grey);
}

.footer-right a:hover {
    color: var(--rosy-taupe);
}

#quote-area {
    margin-top: 2rem;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.quote-carousel-track {
    display: inline-flex;
    animation: marquee 400s linear infinite;
}

.quote-carousel-item {
    padding: 0 1rem;
    font-style: italic;
    color: var(--dark-grey);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--primary-font);
}

.quote-carousel-item i {
    color: var(--accent-color);
    font-size: 0.9em;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}