/* Styles for the About Us page */
body.service-page {
    background-color: #f8f8f8; /* Light grey background for consistency with other pages */
    color: #333;
}

.about-page-content {
    padding-top: 80px; /* Adjust based on navbar height */
    padding-bottom: 60px;
    min-height: calc(100vh - 180px); /* Adjust based on navbar and footer height */
}

/* Anastasia Section Styles */
.anastasia-section {
    padding: 60px 20px;
}

.anastasia-section .container {
    background-color: #ffffff; /* White background for the content block */
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden; /* Contain elements */
}

.anastasia-section h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.anastasia-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
}

.anastasia-image {
    flex: 1 1 350px; /* Allow flex grow/shrink, base width 350px */
    max-width: 400px;
    margin: 0 auto; /* Center on smaller screens when stacked */
}

.anastasia-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: block; /* Remove extra space below image */
}

.anastasia-bio {
    flex: 2 1 500px; /* Allow more space for bio, base width 500px */
    min-width: 300px;
}

.anastasia-bio p {
    color: #555; /* Dark grey text for readability */
    font-size: 1.1em;
    line-height: 1.7; /* Slightly increased line height */
    margin-bottom: 20px;
}

.anastasia-bio p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .anastasia-content {
        flex-direction: column;
        align-items: center; /* Center items when stacked */
        gap: 30px;
    }

    .anastasia-image {
        flex-basis: auto; /* Reset flex-basis */
        max-width: 350px; /* Slightly smaller image */
    }

    .anastasia-bio {
        flex-basis: auto; /* Reset flex-basis */
        text-align: left; /* Ensure text aligns left */
    }
    
    .anastasia-section .container {
        padding: 30px;
    }
    
    .anastasia-section h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .about-page-content {
        padding-top: 70px; /* Adjust for mobile navbar */
    }
}

@media (max-width: 480px) {
    .anastasia-section .container {
        padding: 25px 20px;
    }

    .anastasia-image {
        max-width: 300px;
    }

    .anastasia-bio p {
        font-size: 1em;
    }
    
    .anastasia-section h1 {
        font-size: 1.8em;
    }
} 