/* About page specific styles */
.about-hero {
    display: flex;
    min-height: 600px;
    width: 100%;
}

.hero-left {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.hero-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-right {
    width: 50%;
    background-color: #2F4644;
    display: flex;
    align-items: center;
    padding: 0px 100px;
}

.content-wrapper {
    max-width: 500px;
    margin: auto;
}

.section-tag {
    display: block;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-right h1 {
    font-family: 'Lora', serif;
    font-size: 48px;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.hero-right p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* About Hero Section */
.about-hero {
    position: relative;
    background: #2F4644;
    padding: 0px 0px 0px 0px;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.about-hero h1 {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* About Intro Section */
.about-intro {
    padding: 100px 0 0 0;
    background: #fff;
    margin-bottom: 0;
}

/* Ensure last section has no bottom padding */
section:last-of-type {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.about-intro .container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-family: 'Lora', serif;
    color: #2F4644;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-content p {
    color: #666;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Team Section Styles */
.team {
    padding: 100px 0;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team h2 {
    font-family: 'Lora', serif;
    color: #2F4644;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.team-card {
    background: #faf9f7;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.member-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
}

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

.member-info h3 {
    color: #2F4644;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.member-info .role {
    color: #666;
    font-size: 1rem;
}

/* Hover Effects */
.team-card:hover {
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team h2 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .team {
        padding: 60px 0;
    }

    .team h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .hero-right {
        padding: 80px 60px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        flex-direction: column-reverse;
    }

    .hero-left, 
    .hero-right {
        width: 100%;
    }

    .hero-right {
        padding: 60px 20px;
        align-items: flex-start;
    }

    .content-wrapper {
        max-width: 100%;
    }

    .hero-left {
        height: 400px;
        position: relative;
    }

    .hero-left img {
        position: relative;
    }
}