.about-story-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
    height: 100%;
    align-items: center;
    padding-left: 40px;
    flex-grow: 1;
}

.about-photo-wrapper {
    border-radius: 40px;
    overflow: hidden;
    height: 80%;
    width: 70%;
    border: 2px solid var(--primary-blue);
    background-color: rgba(10, 31, 240, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.about-photo-placeholder {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 800;
    opacity: 0.5;
    text-align: center;
}

.about-story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.about-greeting {
    margin-bottom: 20px;
    font-size: 4vw;
    text-transform: none;
}

.about-bio-text {
    font-size: 22px;
}

.about-contact-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.about-contact-grid {
    display: flex;
    flex-direction: row;
    gap: 80px;
    height: 100%;
    width: 100%;
}

.about-contact-form-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-contact-details-col {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid rgba(10, 31, 240, 0.2);
    padding-left: 80px;
}

.about-contact-details-col .footer-heading {
    margin-bottom: 15px;
}

.about-contact-list {
    margin-bottom: 50px;
}

.contact-link {
    font-weight: 800 !important;
    font-size: 22px !important;
}

.contact-heading {
    margin-bottom: 20px;
    font-size: 4vw;
}

.contact-subtext {
    margin-bottom: 40px;
    font-size: 22px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 20px;
    border-radius: 12px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background-color: rgba(10, 31, 240, 0.05);
    color: var(--primary-blue);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(10, 31, 240, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--primary-blue);
    background-color: rgba(10, 31, 240, 0.1);
}

.contact-form button {
    padding: 20px;
    border-radius: 12px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 18px;
    background-color: var(--primary-blue);
    color: #FFFFFF;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    margin-top: 10px;
}

.contact-form button:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .about-story-grid {
        grid-template-columns: 1fr;
    }

    .about-contact-grid {
        flex-direction: column;
        gap: 40px;
        overflow-y: auto;
    }

    .about-contact-form-col {
        justify-content: flex-start;
    }

    .about-contact-details-col {
        border-left: none;
        border-top: 2px solid rgba(10, 31, 240, 0.2);
        padding-left: 0;
        padding-top: 40px;
    }
}
