/* BASE */
body {
    background-color: #fff;
}
:root {
    --bs-body-font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
}


/* HERO */
#hero {
    margin-top: -170px;
    padding-top: 200px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 500px;
    z-index: 1;
}

#hero .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* DARK OVERLAY */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* CONTENT ABOVE */
#hero .container {
    position: relative;
    z-index: 2;
}

#hero h2 {
    font-size: 2.5rem;
}

/* WHATSAPP */
.whatsapp-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 15px;
    right: 10px;
    background-color: #0CC143;
    border-radius: 100px;
    z-index: 2000;
}

/* BUTTONS */
.rma-btn-black,
.rma-btn-white {
    padding: 5px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block !important;
    transition: 0.3s ease;
}

.rma-btn-black {
    background-color: #000;
    color: #fff;
}

.rma-btn-black:hover {
    color: #fff;
}

.rma-btn-white {
    background-color: #fff;
    color: #000;
}

.rma-btn-white:hover {
    color: #000;
}

/* NAVBAR */
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.nav-link {
    color: #333 !important;
    font-weight: 300;
}

a.nav-link.active {
    color: #333 !important;
}

@media (min-width: 992px) {
    .nav-link {
        color: #fff !important;
    }

    a.nav-link.active {
        color: #fff !important;
    }
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    background-color: #f8f9fa;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: #333;
    padding: 10px 20px;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #f29f99;
    background-color: transparent;
}

/* PHONE LINKS */
.phone-link {
    color: white;
    text-decoration: none;
}

.phone-link:hover {
    color: white;
}

.phone-link-mobile {
    color: #000;
    text-decoration: none;
}

/* TYPOGRAPHY */
.nav-item {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* ABOUT */
#about {
    background-color: #F5F5F5;
}

/* ASPECT */
.aspect-5-3 {
    aspect-ratio: 5/3;
}

/* IMAGE EFFECT */
.rounded-shadow-image {
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.rounded-shadow-image:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* WHY CHOOSE US */
.section-why-choose-us {
    padding: 60px 0;
    background-image: url("/static/images/bg-home-why-choose-us.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-heading {
    font-weight: 600;
    text-align: center;
    margin-bottom: 45px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.benefit-item {
    flex: 0 1 300px;
    text-align: center;
}

.benefit-image {
    margin-bottom: 20px;
    height: 100px;
}

.benefit-icon {
    width: 100px;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-title {
    font-weight: 600;
    margin: 10px 0 15px;
}

.benefit-description {
    font-weight: 400;
}

/* IMAGE BACKGROUND */
.image-background {
    width: 75%;
    padding-top: 75%;
    background-position: center right;
    background-size: cover;
    border-radius: 50%;
    background-image: url("/static/images/family-law.jpg");
    margin: 0 auto;
}

/* REVIEWS */
#reviews .card {
    margin: 0 auto;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

#reviews .card-body {
    padding: 20px;
}

.review-stars .bi-star-fill {
    color: #ee9089;
}

.card-title {
    font-weight: 600;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    #hero {
        padding-top: 170px;
        height: 700px;
    }

    #hero h2 {
        font-size: 3rem;
    }

    .col-md-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}