body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #ededed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1000px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 25px;
}

h2,
h3 {
    font-family: 'Roboto', sans-serif;
}

h3 {
    font-size: 20px;
}

p {
    font-family: 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 400;
    color: rgb(116, 116, 116);
}

.page-main {
    flex: 1;
}

.navbar {
    background-color: #fff;
    border-bottom: 2px solid #004a99;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar .container {
    display: flex;
    align-items: stretch;
}

.navbar-collapse {
    display: flex;
    align-items: stretch;
}

.navbar-nav {
    align-items: stretch;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: stretch;
}

.nav-link {
    font-size: 16px;
    font-weight: bold;
    padding: 30px 22px !important;
    display: flex;
    align-items: center;
    background-color: #fff;
}

.nav-link:hover,
.nav-link.active {
    background-color: #ededed;
}

@media (max-width: 991.98px) {
    .navbar .container {
        align-items: center;
    }

    .navbar-collapse {
        margin-top: 10px;
    }

    .navbar-nav {
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 14px 18px !important;
        justify-content: flex-start;
        border-top: 1px solid #e5e5e5;
    }

    .nav-link:last-child {
        border-bottom: 1px solid #e5e5e5;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-section {
        padding: 35px 0;
    }

    h1 {
        font-size: 28px;
    }

    .service-card {
        flex-direction: column;
    }

    .service-title {
        min-width: 100%;
        width: 100%;
        padding: 18px;
    }

    .service-body {
        padding: 28px;
    }

    .contact-card {
        padding: 20px;
    }

    .team-card .row {
        flex-direction: column;
    }

    .team-photo {
        height: 220px;
    }

    .team-content {
        padding: 20px;
    }
}

.hero-section {
    background-size: cover;
    border-bottom: 1px solid #dee2e6;
    color: white;
    padding: 125px 0;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 45px 0;
    }
}

.hero-section h1,
.hero-section .lead {
    color: white;
}

.home-page .hero-section {
    background-image: url('/images/soundview-capital-management.jpg');
    background-position: top center;
}

.about-page .hero-section {
    background-image: url('/images/about-us.jpg');
    background-position: center center;
}

.services-page .hero-section {
    background-image: url('/images/services.jpg');
    background-position: center center;
}

.contact-page .hero-section {
    background-image: url('/images/contact-us.jpg');
    background-position: center center;
}

.btn-primary {
    background-color: #004a99;
    border: none;
}

.footer {
    background: #343a40;
    color: white;
    padding: 15px 0;
    margin-top: auto;
}

.team-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-page .team-card {
    margin-bottom: 25px;
}

.about-page .team-card:last-of-type {
    margin-bottom: 0;
}

.team-list {
    display: grid;
    gap: 25px;
}

.team-photo {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

.team-content {
    padding: 25px;
}

.service-card {
    transition: transform 0.3s;
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-title {
    background-color: #002857;
    color: white;
    margin: 0;
    padding: 25px;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-body {
    padding: 45px;
    text-align: left;
}

.contact-info {
    font-size: 1.25rem;
}

.contact-cards {
    align-items: stretch;
}

.contact-card {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    height: 100%;
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    color: #002857;
    margin-bottom: 10px;
    display: inline-block;
}

.contact-link {
    color: #004a99;
    text-decoration: none;
    font-weight: bold;
}

.contact-link:hover {
    text-decoration: underline;
}

.home-info-box {
    background-color: white;
    padding: 50px 25px;
}
