body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /* background-color: #1d2b40; */
    color: #fff;
    overflow-x: hidden;
}

.modal-content h2 {
    color: #1b2a3c;
    font-size: 36px;
    margin-left: 80px;
    margin-right: 80px;
    text-align: center;
    margin-top: 80px;
    font-family: 'Playfair Display', serif;
}

.modal-content p {
    color: black;
    font-size: 20px;
    margin-left: 80px;
    margin-right: 80px;
    text-align: justify;
    line-height: 1.5;
}

.modal-content h3 {
    color: #1b2a3c;
    margin-left: 80px;
    margin-right: 80px;
    font-size: 28px;
    font-family: 'Playfair Display', serif;
}

header {
    background-color: #1d2b40;
    padding: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.logo {
    font-family: 'Playfair Display', serif;
    color: #d4a259;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-links li {
    position: relative;
    margin-left: 50px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.nav-links li a:hover {
    color: #d4a259;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #1d2b40;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 53px;
        /* Adjust this value based on the height of your header */
        background-color: #1d2b40;
    }

    .nav-links li {
        text-align: center;
        margin: 0;
    }

    .nav-links li a {
        padding: 5px;
        width: 100%;
        display: block;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        background-color: #1d2b40;
    }

    .footer nav a {
        margin: 0 15px;
        text-decoration: none;
        color: white;
        font-size: 12px;
        letter-spacing: 0px;
    }

    .footer p {
        margin: 5px 0;
        font-size: 11px;
    }
}

.divorcecase img {
    width: 100%;
    height: 350px;

}

body {
    margin: 0;
    padding: 0;
}

.footer {
    background-color: #1b2a3c;
    padding-top: 20px;
    text-align: center;
    color: white;
    margin-top: 50px;
    font-family: 'Arial', sans-serif;
}

.footer nav {
    margin-bottom: 10px;
    justify-content: center;
}

.footer nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer .social-icons {
    margin-bottom: 10px;
}

.footer .social-icons a {
    margin: 0 10px;
    color: white;
    font-size: 20px;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
    margin-top: 0;
    padding-top: 0;
}

.content p {
    text-align: center;
    color: black;
    margin: 0px 200px;
    justify-items: center;
    line-height: 45px;
    font-size: 20px;
    font-style: 'Arial,sans-serif';
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 40px;
    padding-bottom: 10px;
    margin-top: 40px;

    /* margin-top: 70px;
  margin-bottom: 20px; 
  padding:20px; */
}

.content h2 {
    color: black;
    font-size: 36px;
    margin: 0px 200px;
    justify-items: center;
}

.divorcecase {
    /* background-image:url('BN1.jpg'); */
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    /* align-items: center; */

}

.divorcecase h3 {
    font-size: 55px;
    margin-right: 700px;
    margin-top: 200px;
}

@media (max-width: 480px) {
    .logo {
        font-family: 'Playfair Display', serif;
        color: #d4a259;
        font-size: 20px;
        font-weight: bold;
    }

    .modal-content h2 {
        color: #1b2a3c;
        font-size: 28px;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        margin-top: 48px;
    }

    .modal-content p {
        color: black;
        font-size: 16px;
        margin-left: 30px;
        margin-right: 30px;
        text-align: justify;
    }

    .modal-content h3 {
        color: #1b2a3c;
        margin-left: 30px;
        margin-right: 80px;
        font-size: 28px;
    }

    .footer {
        flex-direction: row;
        text-align: center;
    }

    .footer .social-icons {
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }

    .footer p {
        margin: 5px 0;
        font-size: 14px;
        text-align: center;
    }

    .footer nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        overflow-x: hidden;
    }

    .footer nav a {
        margin: 3px 9px;
        text-decoration: none;
        color: white;
        font-size: 12px;
        letter-spacing: 1px;
    }

}

@media (min-width: 600px) and (max-width:767px) {
    .modal-content p {
        color: black;
        font-size: 18px;
        margin-left: 80px;
        margin-right: 80px;
        text-align: justify;
    }

    .footer nav a {
        margin: 0 15px;
        text-decoration: none;
        color: white;
        font-size: 12px;
        letter-spacing: 0px;
    }

    .footer p {
        margin: 5px 0;
        font-size: 11px;
    }
}

.link-inheritance {
  text-decoration: none;
  color: inherit;
}
