@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --light-yellow:#FBF8CC;
    --yellow:#F5EE84;
    --dark-brown:#474306;
    --dark-blue:#03045E;
}

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins';
    margin-top: 2rem;
    background-color: var(--light-yellow);
}

#wrapper{
    min-height: 100vh;
    display: block;
}

.container{
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-logo{
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 600;
}

.nav-items{
    display: flex;
    gap: 2rem;
    order: 3;
    width: 100%;
    justify-content: center;
}

.nav-items div a{
    text-decoration: none;
    color: black;
    font-size: clamp(16px, 2vw, 18px);
    transition: color 0.3s ease;
}

.nav-items div a:hover{
    color: var(--dark-blue);
}

.nav-icons{
    display: flex;
    gap: 1.5rem;
}

.nav-icons img{
    width: clamp(22px, 3vw, 26px);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-icons img:hover{
    transform: scale(1.1);
}

/* Hero Section */
.hero-section{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    padding: 0 20px;
}

.left-section{ 
    text-align: center; 
    width: 100%;
}

.left-section-heading{
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    color: var(--dark-blue);
}

.left-section-subheading{
    font-size: clamp(2.5rem, 10vw, 6.25rem);
    color: var(--dark-blue);
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 800;
}

.left-section-title{
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    color: var(--dark-blue);
}

.left-section-button{
    display: flex;
    margin: 2rem auto 0;
    width: 158px;
    height: 61px;
    border: 1px solid black;
    border-radius: 5px;
    position: relative;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.left-section-button:hover{
    transform: translateY(-2px);
}

.left-section-button a{
    text-decoration: none;
    color:var(--dark-brown);
    font-size: 20px;
}

.left-section-button-rectangle{
    width: 158px;
    height: 61px;
    background-color: var(--yellow);
    position: absolute;
    top:5px;
    left: 5px;
    z-index: -1;
    border-radius: 5px;
}

.right-section{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.absolute-icons{
    position: absolute;
    display: none;
}

.user-image{
    width: 100%;
    max-width: 506px;
}

.user-image img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* About Section */
.about-section{
    padding-top: 5rem;
}

.about-section-heading{
    font-size: clamp(3rem, 10vw, 6.25rem);
    color: var(--yellow);
}

.about-section-description{
    font-size: clamp(16px, 2.5vw, 24px);
    max-width: 900px;
    line-height: 1.7;
    margin-bottom: 4rem;
}

.timeline{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    padding-left: 20px;
}

.timeline-item{
    position: relative;
    width: 100%;
    max-width: 900px;
    padding-left: 25px;
}

.timeline-item h3{
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.timeline-item p{
    font-size: clamp(14px, 2vw, 24px);
    color: var(--dark-blue);
    line-height: 1.7;
}

.timeline-item .dot{
    position: absolute;
    background-color: var(--dark-blue);
    height: 13px;
    width: 13px;
    border-radius: 50%;
    left: 0;
    top: 11px;
}

/* Work Section */
.work-section{
    padding-top: 5rem;
}

.work-section-heading{
    font-size: clamp(3rem, 10vw, 6.25rem);
    color: var(--yellow);
}

.work-section-description{
    font-size: clamp(16px, 2.5vw, 24px);
    max-width: 900px;
    line-height: 1.7;
    margin-bottom: 4rem;
    color: var(--dark-blue);
}

.work-section-image-wrapper{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.image-container{
    width: 100%;
    max-width: 560px;
}

.image-container img{
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

.image-container i{
    font-size: clamp(13px, 1.5vw, 15px);
    color: var(--dark-blue);
    display: block;
    margin-top: 1rem;
}

.image-container-heading{
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--dark-blue);
}

.image-container-description{
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.7;
    color: var(--dark-blue);
}

/* Contact Section */
.contact-section{
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.contact-section-heading{
    font-size: clamp(3rem, 10vw, 6.25rem);
    color: var(--yellow);
    padding-bottom: 2rem;
}

.contact-section-container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.contact-section-container img{
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 5px;
}

.contact-section-container-content{
    width: 100%;
    max-width: 640px;
}

.contact-section-container-content p{
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.contact-section-container-content-description{
    font-size: clamp(16px, 2.5vw, 24px);
    line-height: 1.8;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
    body {
        margin-top: 3rem;
    }

    .container {
        padding: 0 40px;
    }

    .nav-items {
        order: 0;
        width: auto;
        justify-content: space-between;
        gap: 3rem;
    }

    .hero-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }

    .left-section {
        text-align: left;
        max-width: 50%;
    }

    .left-section-button {
        margin: 2rem 0 0 0;
    }

    .right-section {
        max-width: 48%;
    }

    .absolute-icons {
        display: block;
    }

    .group-10 {
        top: -12px;
        right: 20px;
    }

    .group-6 {
        bottom: 20%;
        left: -10px;
    }

    .timeline {
        align-items: flex-end;
        padding-left: 0;
    }

    .timeline-item {
        padding-left: 0;
        padding-right: 35px;
        text-align: right;
    }

    .timeline-item .dot {
        left: auto;
        right: 0;
    }

    .work-section-image-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
        flex-wrap: wrap;
    }

    .image-container {
        flex: 1;
        min-width: 300px;
    }

    .contact-section-container {
        flex-direction: row;
        gap: 3rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        margin-bottom: 6rem;
    }

    .hero-section {
        padding: 0;
    }

    .about-section {
        padding-top: 7rem;
    }

    .about-section-description {
        margin-bottom: 6rem;
    }

    .timeline {
        gap: 4rem;
    }

    .timeline-item {
        width: 900px;
    }

    .timeline-item .dot {
        right: -35px;
    }

    .work-section {
        padding-top: 12rem;
    }

    .work-section-description {
        margin-bottom: 6rem;
    }

    .work-section-image-wrapper {
        gap: 100px;
        flex-wrap: nowrap;
    }

    .contact-section {
        padding-top: 9rem;
    }

    .contact-section-container {
        gap: 50px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .left-section-subheading {
        font-size: 100px;
    }

    .about-section-heading,
    .work-section-heading,
    .contact-section-heading {
        font-size: 100px;
    }
}

/* Mobile-first responsive images */
@media (max-width: 480px) {
    .navbar {
        margin-bottom: 3rem;
    }

    .nav-icons {
        gap: 1rem;
    }

    .hero-section {
        gap: 2rem;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-item .dot {
        left: 0;
    }
}