/* ==========================================================================
   PAGE STYLES - Extends base.css
   ========================================================================== */

    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    padding-top: 80px;
    /* Add padding to prevent content from being hidden behind fixed navbar */
}

/* Menu Toggle (Hamburger) */
.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.7rem;
}

.menu-toggle {
    display: none;
}

    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar img.navlogo {
    height: 50px;
    width: auto;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid #000000;
    border-radius: 20px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Dropdown styling */
.dropdown {
    position: relative;
}

.dropdown>a::after {
    content: ' ▼';
    font-size: 10px;
    vertical-align: middle;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    flex-direction: column;
}

.dropdown-menu li a {
    color: #000000;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    border: none;
}

.dropdown-menu li a:hover {
    background-color: #000000;
    color: #ffffff;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Team Introduction Section */
.team-intro {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f8f9fa;
}

.team-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.team-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Team Members Section */
.team-members {
    padding: 5rem 2rem;
}

.team-members h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.member-title {
    font-size: 1.1rem;
    color: #4a3f35;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-practice {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.member-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* What Sets Us Apart Section */
.what-sets-us-apart {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.what-sets-us-apart h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta {
    background-color: #4a3f35;
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #4a3f35;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .menu-toggle:checked+.menu-icon+.nav-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 10px 0;
        z-index: 100;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .dropdown {
        position: static;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #ddd;
        display: none;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: #f5f5f5;
    }

    .dropdown>a::after {
        content: ' ▼';
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .dropdown>a:focus::after {
        content: ' ▲';
    }

    .dropdown>a:focus+.dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 12px 15px;
        text-align: center;
    }

    /* Team section adjustments */
    .team-intro {
        padding: 3rem 1rem;
    }

    .team-intro h1 {
        font-size: 2rem;
    }

    .team-members {
        padding: 3rem 1rem;
    }

    .team-members h2 {
        font-size: 1.8rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-image {
        height: 300px;
    }

    /* Features and CTA adjustments */
    .what-sets-us-apart {
        padding: 3rem 1rem;
    }

    .what-sets-us-apart h2 {
        font-size: 1.8rem;
    }

    .contact-cta {
        padding: 3rem 1rem;
    }

    .contact-cta h2 {
        font-size: 1.8rem;
    }

    /* Footer responsive adjustments */
    .footer-content {
        flex-direction: column;
    }

    .footer-office,
    .footer-contact {
        text-align: center;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-links li {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 12px;
        padding: 6px 10px;
    }

    .team-intro h1 {
        font-size: 1.8rem;
    }

    .team-intro p {
        font-size: 1rem;
    }

    .member-info h3 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}