/* About Page Specific Styles */

/* Main content padding for navbar */
.about-main-content {
    padding-top: 80px; /* Space for fixed navbar */
    background-color: #f9f9f9;
    /* Dual Tone Background Start */
    background: linear-gradient(135deg, #4e4e4e 0%, #ffffff 100%); /* A subtle blue-grey to light blue gradient */
    /* You can experiment with other color combinations, e.g.:
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%); // Very subtle light grey
    background: linear-gradient(135deg, #ffe0e0 0%, #ffc0cb 100%); // Soft pink
    background: linear-gradient(135deg, #e6ffe6 0%, #ccffcc 100%); // Gentle green
    */
    background-attachment: fixed; /* Keeps the gradient fixed during scroll */
    /* Dual Tone Background End */
}

/* About Hero Section */
.about-hero {
    background-color: #e0e0e0; /* Light grey, consistent with blog hero */
    color: #333;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #444;
}

.about-hero p {
    font-size: 1.3em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* General Section Styling - MODIFIED TO REMOVE BOX EFFECT */
.about-section {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 30px;
    /* Removed box styling below */
    /* background-color: #fff; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.about-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Profile Intro Section */
.profile-intro {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image-wrapper {
    flex: 1;
    min-width: 250px; /* Ensure image doesn't get too small */
    text-align: center;
}

.profile-photo-about {
    width: 100%;
    max-width: 300px; /* Max size for the image */
    height: auto;
    border-radius: 0%; /* Make it round */
    object-fit: cover;
    border: 5px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text-content {
    flex: 2;
}

.about-text-content h2 {
    text-align: left; /* Override general h2 center alignment */
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
}

.about-text-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.about-text-content p em {
    font-weight: 600;
    color: #007bff; /* Highlight the quote */
}

/* Mission Grid Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Mission Item - MODIFIED TO REMOVE BOX EFFECT */
.mission-item {
    /* Removed box styling below */
    /* background-color: #f0f8ff; */ /* Light blue background for emphasis */
    padding: 25px;
    /* border-radius: 8px; */
    text-align: center;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); */
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.mission-item p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

/* Expertise Areas */
.expertise-areas {
    text-align: center;
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.expertise-list span {
    background-color: #e6e6fa; /* Light purple */
    color: #4b0082; /* Dark purple */
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap; /* Prevent wrapping for single tags */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Call to Action */
.call-to-action {
    text-align: center;
}

.call-to-action p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Responsive Design for About Page */
@media (max-width: 992px) {
    .profile-intro {
        flex-direction: column;
        text-align: center;
    }

    .about-image-wrapper {
        margin-bottom: 20px;
    }

    .about-text-content h2 {
        text-align: center; /* Center h2 on smaller screens */
    }

    .about-section {
        margin: 0 auto 40px auto;
        padding: 25px;
    }

    .about-hero h1 {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 40px 15px;
    }

    .about-hero h1 {
        font-size: 2.5em;
    }

    .about-hero p {
        font-size: 1.1em;
    }

    .about-section h2 {
        font-size: 2em;
    }

    .profile-photo-about {
        max-width: 250px;
    }

    .about-text-content p {
        font-size: 1em;
    }

    .mission-grid {
        grid-template-columns: 1fr; /* Stack mission items on small screens */
    }

    .expertise-list span {
        font-size: 0.85em;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .about-main-content {
        padding-top: 60px; /* Adjust for smaller navbar on mobile if needed */
    }
    .about-hero h1 {
        font-size: 2em;
    }
    .about-hero p {
        font-size: 0.95em;
    }
    .about-section {
        padding: 15px;
    }
    .about-section h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .profile-photo-about {
        max-width: 200px;
    }
    .contact-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}