body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /* background-color: #1d2b40; */
    color: #fff;
    overflow-x: hidden;
    background-color: #eceef1;
}
.modal-content h2{
    color: #1b2a3c;
    font-size: 36px;
    margin-left: 80px;
    margin-right: 80px;
    text-align: center;
    margin-top: 80px;
}
.modal-content p{
    color: black;
    font-size: 20px;
    margin-left: 80px;
    margin-right: 80px;
    text-align: justify;
}
.modal-content h3{
    color: #1b2a3c;
    margin-left: 80px;
    margin-right: 80px;
    font-size: 28px;
}


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


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;
    }
  }
  .block-content {
    background-color:  #f9f9fa;
    display: flex;
    padding: 50px;
}

.image-section {
    background-color:  #B4843B; /* Yellow background */
    padding: 20px;
    display: flex;
    align-items: center;
    margin-left: 100px;
    margin-top: 50px;
    justify-content: center;
}
.image-section img{
    width: 300px;
    height: 300px;
    border-radius: 50%;
}
.text-section p {


    text-align: justify;
    color: #000000;
    
}
.hero {
    background: url('pro4.jpeg') no-repeat center center/cover;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.overlay {
    background-color: rgba(40, 115, 201, 0.5);
    padding: 20px;
    text-align: center;
    border-radius: 50%;
    margin-left: -700px;
}

.overlay h1, .overlay h2 {
    color: white;
    margin: 0;
}

.overlay h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.overlay h2 {
    font-size: 24px;
}

.overlay img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
}
.hero h2 {
    color: #f9f9fa;
    margin-left: 181px;
    font-size: 38px;
    margin-right: -408px;
}




.image-wrapper {
    /* background-color: #FFFFFF; White background for the image */
    padding: 10px;
}

.image-wrapper img {
    max-width: 100%;
    height:auto;
}

.text-section {
    margin-left: 15%;
 margin-right: 15%;
    line-height: 29px;
}



.text-section h2 {
    font-size: 40px;
    color: #C59545; /* Gold color */
    margin: 30px 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
}



body {
    margin: 0;
    padding: 0;
}
.footer {
    background-color: #1b2a3c;
    padding: 20px 0;
    text-align: center;
    color: white;
    margin-top: 230px;
    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;
    }
}

@media (max-width: 480px){
.hero {
        background: url('pro4.jpeg') no-repeat center center/cover;
        height: 173px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        /* width: 480px; */
        overflow-x: hidden;
    }
    .overlay {
        background-color: rgba(40, 115, 201, 0.5);
        padding: 7px;
        text-align: center;
        border-radius: 50%;
        margin-left: -220px;
    }
    .overlay img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow-x:hidden;
    }
    .hero h2 {
        color: #f9f9fa;
        margin-left: 40px;
        font-size: 28px;
        margin-right: -198px;
        overflow-x: hidden;
    }
    .text-section h2 {
    font-size: 28px;
    color: #C59545;
    margin: 30px 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    }
}
