@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


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

html, body {
    font-size: 16px;
    height: 100%;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

#main {
    height: 100%;
    width: 100%;
}

#hero {
    min-height: 100vh;
    width: 100%;
    padding: 4.4rem 3.75rem 3.75rem 3.75rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#hero-img {
    flex: 1;
    width: 100%;
    background-image: url('https://images.pexels.com/photos/3760072/pexels-photo-3760072.jpeg');
    background-size: cover;
    background-position: 0 45%;
    background-repeat: no-repeat;
}

#hero > #hero-text-container > h1 {
    font-size: 6rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.2rem;
    margin-top: 3.75rem;
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero >  #hero-text-container > h1 > span {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-style: italic;
}

#hero >  #hero-text-container > button {
    border: 1px solid #000000;
    border-radius: 50rem;
    background-color: transparent;
    color: black;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
    margin-top: 3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.9s;
}

#hero >  #hero-text-container > button:hover {
    color: white;
    background-color: #000000;
}

#hero > #hero-text-container > button > i {
    font-size: 1.25rem;
    margin-left: 0.5rem;
}

#benefits {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    margin-top: 8rem;
}

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

#benefits > img {
    flex: 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#benefit-text-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 3.75rem;
}

#benefit-text-content > h5 {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.09rem;
    color: #000000;
    padding: 0.8rem 1.5rem;
    border-radius: 50rem;
    border: 1px solid #b4b4b4;
    margin-bottom: 1.5rem;
}

#benefit-text-content > h2 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.2rem;
    color: #000000;
}

#benefit-text-content > p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.5;
    color: #666;
    margin-top: 1.8rem;
}

#benefit-text-content > button {
    margin-top: 3rem;
    font-size: 1.2rem;
    font-weight: 500;
    background-color: #000;
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 50rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

#benefit-text-content > button:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#benefit-text-content > button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Bento Grid Gallery */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.6s;
}

.bento-item {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

/* Grid item sizing */
.bento-item.regular {
    grid-column: span 1;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

/* Specific grid placement */
.bento-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item:nth-child(2) {
    grid-column: span 1;
}

.bento-item:nth-child(3) {
    grid-column: span 2;
}

.bento-item:nth-child(4) {
    grid-column: span 2;
}

.bento-item:nth-child(5) {
    grid-column: span 1;
}

.bento-item:nth-child(6) {
    grid-column: span 2;
    background-position: bottom;
}

.bento-item:nth-child(7) {
    grid-column: span 2;
    background-position: 0 25%;

}

/* Ensure consistent image scaling */
.bento-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#culture {
    height: fit-content;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    box-sizing: border-box;
    margin: 8rem 0;
}

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

#culture > img {
    flex: 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#culture-text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 3.75rem;
}

#culture-text-content > h5 {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.09rem;
    color: #000000;
    padding: 0.8rem 1.5rem;
    border-radius: 50rem;
    border: 1px solid #b4b4b4;
    margin-bottom: 1.5rem;
    text-align: center;
}

#culture-text-content > h2 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.2rem;
    color: #000000;
    text-align: center;
}

#jobs {
    height: fit-content;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 9.375rem;
    box-sizing: border-box;
    margin-bottom: 8rem;
}

#jobs-text-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

#jobs-text-content > h5 {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.09rem;
    color: #000000;
    padding: 0.8rem 1.5rem;
    border-radius: 50rem;
    border: 1px solid #b4b4b4;
    margin-bottom: 1.5rem;
    text-align: center;
}

#jobs-text-content > h2 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.2rem;
    color: #000000;
    text-align: center;
}

#jobs-gallery {
    margin-top: 5rem;
    width: 100%;
    height: fit-content;
}

.job {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #b4b4b4;
}

.job > h5 {
    font-size: 1.5rem;
    font-weight: 450;
}

.job > h5 > i {
    margin-right: 0.5rem;
    font-size: 1.2rem;

}

.job > a {
    font-size: 1.2rem;
    font-weight: 400;
    background-color: transparent;
    color: #000000;
    padding: 1rem 1.5rem;
    border-radius: 50rem;
    border: 1px solid #000000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0) scale(1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.job > a:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job > a:active {
    transform: translateY(0) scale(0.98);
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .bento-grid {
        max-width: 1000px;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bento-item:nth-child(3) {
        grid-column: span 1;
    }
    
    .bento-item:nth-child(6) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
    }
    
    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .bento-item.wide {
        grid-column: span 2 !important;
    }
    

}

@media (max-width: 430px) {
    .bento-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .bento-item,
    .bento-item.wide {
        grid-column: 1 / -1 !important;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 430px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    #hero {
        height: fit-content;
        width: 100%;
        max-width: 100%;
        margin-top: 2.2rem;
        padding: 1.8rem 1.8rem 4rem 1.8rem;
        box-sizing: border-box;
    }
    #hero > #hero-text-container > h1 {
        margin-top: 1.5rem;
        font-size: 2.5rem;
        word-wrap: break-word;
        max-width: 100%;
        letter-spacing: -0.1rem;
    }
    #hero > #hero-text-container > h1 > span {
        font-size: 2.5rem;
    }
    #hero > #hero-text-container > button {
        margin-top: 1.5rem;
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    #hero > #hero-text-container > button > i {
        font-size: 1rem;
    }

    #benefits {
        flex-direction: column;
        height: fit-content;
        margin-top: 3rem;
    }

    #benefit-text-content {
        margin-top: 2.5rem;
        width: 100%;
        padding: 1.8rem;
    }

    #benefit-text-content > h2 {
        font-size: 2.8rem;
    }

    #benefit-text-content > p {
        font-size: 1.4rem;
    }

    #benefit-text-content > button {
        padding: 1.2rem 1.5rem;
    }

    #benefits > img {
        width: 100vw;
        height: 30vh;
    }

    #culture {
        margin-top: 2rem;
        height: fit-content;
        padding: 0;
    }

    #culture-text-content {
        padding: 0;
    }

    #culture {
        flex-direction: column;
        height: fit-content;
        margin-bottom: 2rem;
    }

    #culture-text-content {
        margin-top: 2.5rem;
    }

    #culture-text-content > h2 {
        font-size: 2.8rem;
    }

    #culture-text-content > p {
        font-size: 1.4rem;
    }

    #gallery {
        height: fit-content;
        padding: 2rem 0;
    }

    #jobs {
        padding: 1.8rem;    
    }

    #jobs-text-content {
        padding: 0;
    }

    .job {
        flex-wrap: wrap;
    }

    .job > h5 {
        text-align: left;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .job-location,
    .job-domain,
    .job-type {
        font-size: 0.9rem !important;
        display: inline-block;
        margin-right: 1.5rem !important;
        margin-bottom: 0 !important;
    }

    .job-location i,
    .job-domain i,
    .job-type i {
        font-size: 1rem !important;
        margin-right: 0.3rem !important;
    }
        
    

    /* .job:first-child {
        display: block;
        margin-bottom: 0.5rem;
    } */

    #jobs {
        flex-direction: column;
        height: fit-content;
    }

    .job > a {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        margin-top: 1.5rem;
    }

    .job > .job-title {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 0.5rem;   
    }

    .job > .job-location {
        margin-top: 0.5rem;
    }
        

    #jobs-text-content {
        margin-top: 2.5rem;
        width: 100%;
        align-items: flex-start;
    }

    #jobs-text-content > h2 {
        font-size: 2.8rem;
        text-align: left;
    }

    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .bento-grid .bento-item {
        margin: 0 !important;
        width: 100% !important;
        aspect-ratio: 3/2 !important;
    }

    #culture-text-content {
        margin-top: 2.5rem;
        width: 100%;
        padding: 1.8rem;
        text-align: left;
        align-items: flex-start;
    }

    #culture-text-content > h5 {
        text-align: left;
    }

    #culture-text-content > h2 {
        font-size: 2.8rem;
        text-align: left;
    }

    #culture-text-content > p {
        font-size: 1.4rem;
    }
}


@media (min-width: 1200px) and (max-width: 1799px) {

    #hero > #hero-text-container > h1 {
	font-size: 4.5rem;
	margin-top: 2.75rem;
    }

    #hero > #hero-text-container > button {
	margin-top: 2.5rem;
    }

    #benefit-text-content > h2 {
	font-size: 3rem;
    }

    #benefit-text-content > p {
	font-size: 1.3rem;
    }

    #culture-text-content > h2 {
	font-size: 3.5rem;
	padding: 0 5rem;
    }

    #jobs-text-content > h2 {
	font-size: 3.5rem;
    }

}
