/* html {
    scroll-behavior: smooth;
} */
/* Enable scroll snapping on the whole body */
html,
body {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

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


body {
    font-family: 'Arial', sans-serif;
    background-color: #f9faf5;
    color: #000;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f9faf5;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #888;
}

section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    text-align: center;
}

.hero h1 {
    font-size: 10vw;
    margin-top: 200;
    font-weight: 300;
    letter-spacing: 10px;
    position: relative;
}

.hero span {
    display: block;
    font-size: 1.5vw;
    font-style: italic;
    font-weight: 300;
    position: absolute;
    bottom: -0px;
    right: 0;
}

.hero p {
    margin-top: 200px;
    font-size: 1.2vw;
    letter-spacing: 5px;
}

.about {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    background-color: #f9faf5;
    text-align: left;
}

.about-text h2 {
    font-size: 2vw;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1vw;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-text .tags span {
    margin-right: 30px;
    letter-spacing: 2px;
    font-size: 0.9vw;
}

.about-image {
    flex: 1;
}

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

.mission-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #1e1e1e;
    color: #fff;
}

.mission-image {
    height: 70%;
    /* 🌟 Image takes 70% of the section */
    width: 100%;
}

.mission-image img {
    width: 100%;
    height: 100%;
    /* 🚀 Fills the entire 70% height */
    object-fit: cover;
    /* 🎯 Ensures the image covers without distortion */
}

.mission-content {
    padding: 40px;
    width: 100vw;
    /* max-width: 800px; */
    text-align: start;
}

.mission-content h2 {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}

.mission-content p {
    font-family: 'Arial', sans-serif;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #ddd;
}

@media (min-width: 768px) {
    .mission-section {
        flex-direction: column;
    }

    .mission-image,
    .mission-content {
        flex: 1;
    }

    .mission-image img {
        height: 100%;
    }
}

@media (max-width: 767px) {
    .mission-section {
        flex-direction: column;
    }

    .mission-content {
        text-align: center;
    }
}

.vision {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.vision-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 70px;
    background-color: #f9faf5;
    text-align: justify;
}

.vision-text h2 {
    font-size: 2vw;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 30px;
}

.vision-text p {
    font-size: 1.2vw;
    line-height: 1.8;
    margin-bottom: 40px;
}


.vision-image {
    flex: 1;
}

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

.portfolio-section {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.portfolio-left {
    flex: 1;
    background-color: #1e1e1e;
    display: flex;
    height: 100vh;
    width: 50vw;
    justify-content: center;
    align-items: center;
}

.portfolio-left h1 {
    color: #eee8d5;
    font-size: 6rem;
    line-height: 1.2;
    text-align: center;
}

.portfolio-right {
    flex: 2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-right h2 {
    font-family: 'Georgia', serif;
    font-weight: 300;
    text-align: start;
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.detail-item i {
    font-size: 1.3rem;
    color: #1e1e1e;
}

.content h3 {
    font-size: 1rem;
    font-weight: bold;
    text-align: start;
    letter-spacing: 1px;
    margin: 20px 0 10px;
}

.content p {
    font-size: 0.95rem;
    text-align: justify;
    line-height: 1.8;
    color: #555;
}

#who-we-are {
    padding: 50px 10%;
    background-color: #f8f9f4;
    text-align: right;
}

#who-we-are h2 {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

.team-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    width: 45%;
    text-align: center;
}

.team-member img {
    width: 80%;
    height: auto;
    border-radius: 5px;
    background-color: #d2e9c9;
}

.team-member h3 {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    margin: 20px 0 10px;
    font-size: 18px;
    letter-spacing: 1px;
}

.team-member p {
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.codex-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.top-content {
    display: flex;
    flex-direction: row;
    height: 60vh;
    width: 100vw;
}

.left-panel {
    width: 40%;
    height: 100%;
    background-color: #1d1d1d;
    color: #fff;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-panel h1 {
    font-size: 60px;
    font-weight: 300;
    letter-spacing: 5px;
}

.left-panel h1 span {
    display: block;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 10px;
    margin-top: 0px;
    margin-bottom: 100px;
}

.left-panel p {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.right-panel {
    width: 60%;
}

.right-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-content {
    height: 40vh;
    width: 100vw;
    background-color: #111;
    display: flex;
    justify-content: flex-end;
    /* Align content to the right */
    align-items: center;
    padding: 40px 60px;
    position: relative;
    /* For absolute positioning of the text */
}

.footer-inner {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
}

.footer-inner p {
    color: #fff;
    font-size: 16px;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    /* Center horizontally */
    margin: 0;
}

.message-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 15px;
}

.message-form input,
.message-form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    resize: none;
}

.message-form button {
    padding: 15px;
    background-color: #fdda3d;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.message-form button:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-bottom: 60px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
    }

    .message-form {
        max-width: 100%;
    }

    .footer-inner p {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}