* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", serif;
    background-color: rgba(255, 255, 255, 1);
}


header{
    background:  url('img/bg_wider.png');
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.header-container{
    width: 100%;
    align-items: center;
}

.content-box {
    text-align: center; 
}

.content-box h1 {
    text-align: center;
    font-size: 2.3rem;
    color:#ffcc00;
}
.content-box h1 span{
    color: #fff;
}

.content-box p {
    font-size: 1.2rem;
    margin: 8px 0;
    color: rgba(38, 50, 56, 1);
    font-weight: 500;
    text-align: center;
}
.box-btn{
    margin-top: 25px;
}
.content-box .button {
    padding: 12px 25px;
    background-color: #FECF0F;
    color: #012142;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;

    box-shadow: 0px 0px 15px 0px rgba(254, 207, 15, 1);


}

.content-box .button:hover {
    background-color: #ffaa00;
}

.logo {
   text-align: center;
    margin: 25px 0;
}

.logo img {
    height: 60px;
}


.hero-container {
    background-color: rgba(249, 250, 251, 1);
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-container h1 {
    font-size: 24px;
    color: rgba(38, 50, 56, 1);
    margin-bottom: 10px;
    text-align: left;
    margin-left: 10px;
}

.hero-container p {
    font-size: 20px;
    margin-left: 10px;
    color: rgba(38, 50, 56, 1);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.issues-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.issues-list ul {

    padding: 0;
    width: 45%;
}

.issues-list li {
    font-size: 16px;
    color: rgba(38, 50, 56, 1);
    margin-bottom: 10px;
}

.issues-list li strong {
    font-weight: bold;
    color: rgba(38, 50, 56, 1);
}




.why-choose-section {
   
    background-image: url('img/bg_wider.png'); /* Replace with your grid image */
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.why-choose-section h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: rgba(38, 50, 56, 1);
}

.why-choose-section .highlight {
    color: rgba(254, 207, 15, 1); /* Yellow color for 'The Legal Dost' */
}


.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 80px auto;
 
    position: relative;
}

.card {
    background-color:rgba(254, 207, 15, 1) ;/* Yellow background */
    color: rgba(38, 50, 56, 1);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, opacity 0.3s;
    position: absolute;
    opacity: 0.5;
    transform: scale(0.8);
    backdrop-filter: blur(6px);
    width: 75%;
 
}

.card.center {
    opacity: 1;
    transform: scale(1); /* Full size */
    z-index: 2; /* Bring to front */
    width: 75%;
}

.card.left {
    left: 30%; /* Position smaller card to the left */
}

.card.right {
    right: 30%; /* Position smaller card to the right */
}

.card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p {
    font-size: 17px;
    line-height: 1.5;
}

.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: rgba(38, 50, 56, 1); /* Blue for the active dot */
}





.main-container {
    width: 90%;
    margin: 20px auto;
}

.main-container h1 {
    font-size: 38px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.main-container h1 span {
    color: rgba(254, 207, 15, 1);
}

.grid-layout {
    width: 85%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
   
}

.grid-card {
    background-color:  rgba(38, 50, 56, 1);
    color: white;
    padding: 20px;
    padding-bottom: 0;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
 
}

.grid-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.grid-card p {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.grid-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-left: 21rem;
}

.grid-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bgover.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.grid-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    height: 100%;
}




.pricing-container {
    text-align: center;
    margin-top: 6rem;
}
.pricing-container h1 {
    font-size: 2.5rem;
   
    color: #333;
}
.pricing-container span {
    color: rgba(254, 207, 15, 1);
}
.plans {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-end;
    margin: 20px 0;
}
.plan {
    background: #000;
    color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    width: 260px;
    text-align: left;
    
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.5);

}
.plan:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.plan.basic {
    background: #333;
    height: 300px;
    color: rgba(254, 207, 15, 1);
}
.plan.premium {
    background: rgba(254, 207, 15, 1);
    color: #000;
    height: 425px;
    box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.5);

}
.plan.standard {
    background: #111;
    color: rgba(254, 207, 15, 1);
    height: 370px;
}
.plan h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
   
}
.plan ul {
  
    padding: 0;
    margin: 0;
    flex-grow: 1;
}
.plan ul li {
    margin: 1rem 0.3rem;
    font-size: 18px;
    font-weight: 600;
}
.plan .price {
    font-size: 1.25rem;
    margin: 1rem 0;
    color: rgba(254, 207, 15, 1);
    text-align: center;
}
.price-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(254, 207, 15, 1);
    color: #000;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
    box-shadow: 0px 0px 15px 0px rgba(254, 207, 15, 1);

}
.price-btn:hover {
    background-color: #333;
    color:rgba(254, 207, 15, 1) ;
}

.plan.basic hr {
    width: 100%;
    margin: 0 auto 1rem auto;
    border: none;
    height: 3px;
    background-color: #f9c806;
}
.plan.standard hr{
  width: 100%;
    margin: 0 auto 1rem auto;
    border: none;
    height: 3px;
    background-color: #f9c806;
}
.plan.premium a{
  display: inline-block;
    padding: 0.5rem 1rem;
    background-color:rgba(38, 38, 38, 1);
    color: rgba(254, 207, 15, 1);
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
    box-shadow: 0px 0px 15px 0px rgba(38, 38, 38, 1);
}
.plan.premium hr{
    width: 100%;
    margin: 0 auto 1rem auto;
    border: none;
    height: 3px;
    background-color: #000;
}



.blog-container {
    text-align: center;
    padding: 2rem 1rem;
}

.blog-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.blog-container h1 span {
    color: #f9c806;
}

.carousel {
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.carousel-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(66, 66, 66, 0.2);
    flex: 0 0 300px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px; /* Ensures consistent height across all items */
}

.carousel-item img {
    max-width: 100%;
    border-radius: 10px;
    max-height: 200x;
    object-fit: cover;
}

.carousel-item h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.carousel-item p {
    font-size: 1rem;
    color: #666;
}

.indicators {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: rgba(38, 38, 38, 1);
}





/* Follow Page Section */
.follow-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
  }
  
  .follow-section img {
    width: 50rem;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  /* Social Media Section */
  .sm-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 1vh auto;

    padding: 0 2vh;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
  }
  .sm-section a {
    cursor: pointer;
  }
  .sm-section img {
    width: 100%;  /* Set a fixed width for better consistency */
    height: 50vh; /* Set a fixed height as well */
    object-fit: contain; /* Ensures the entire image fits within the set dimensions */
    display: block;
    margin: 0 auto;
  }


  
.faq-container {
    width: 85%;
    margin: 20px auto;
    background: #E2F0FF;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.faq-item {
    border: 1px solid #fff;
}

.faq-question {
    cursor: pointer;
    padding: 15px;
    background: #E2F0FF;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
}
.faq-question::after {
    content: '\002B';
    font-size: 1.2rem;
}
.faq-question.active::after {
    content: '\2212';
}
.faq-question:hover {
    background: #072f58;
    color: #fff;
}
.faq-answer {
    display: none;
    padding: 15px;
    border-radius: 5px;
    background: #E2F0FF;
}
.faq-question.active + .faq-answer {
    display: block;
    background-color: #fff;
}



/* Contact Section */
.contact-section {
    background-color: #002855;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
  }
  
  .contact-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .contact-item p {
    margin: 0;
  }
  
  .social-icons {
    display: flex;
    gap: 5px;
  }
  
  .social-icons img {
    width: 40px;
    height: 40px;
  }

  
.map-container {
    width: 100%;
    height: 400px;
    position: relative;
}
iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
}

.footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    margin: 0 5rem;
}
.footer-left {
    max-width: 400px;
}
.footer-left img {
    height: 50px;
}
.footer-left p {
    margin-top: 10px;
    font-size: 18px;
}
.footer-right {
    list-style: none;
}
.footer-right li {
    margin: 5px 0;
}
.footer-right a {
    text-decoration: none;
    color: #072f58;
}
.copyright {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #ddd;
}
.links h2{
    color: #072f58;
    font-weight: 600;
}
.faq-answer ul li {
    margin: 10px 0  
}




.popup {
    position: fixed;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    display: none;
  
  }
  
  .popup button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .popup button:hover {
    background-color: #0056b3;
  }

  .register-page {
    width: 100%;
    background-color: #2c2a2a;
}


.maindiv {
    display: flex;
    padding: 20px;
    height: 100vh;
    position: relative;
}


.leftdiv {
    flex: 2;
    background-color: rgb(255, 213, 0);
    height: 100%;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    box-shadow: 0px 0px 20px 0px rgba(254, 207, 15, 1);
    display: flex;
    flex-direction: column;
}

.leftdiv div {
    padding: 30px;
}

.leftdiv h2 {
    line-height: 4.7rem;
    font-size: 4rem;
    color: rgba(7, 47, 88, 1);
}

.leftdiv p {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 30px 0px;
    color:rgba(7, 47, 88, 1);
}

.leftdiv button {
    background-color: rgba(7, 47, 88, 1);
    font-weight: bold;
    font-size: 25px;
    padding: 10px 70px;
    
    border-radius: 14px;
   border: none;
    width: fit-content;
    box-shadow: 0px 0px 15px 0px rgba(7, 47, 88, 1);

}
.leftdiv button a{
    text-decoration: none;
    color: rgba(254, 207, 15, 1);
}

.rightdiv {
    flex: 1;
    height: 100%;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0px 10px 20px rgba(255, 213, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.rightdiv img {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

i {
    position: absolute;
    color: #fff;
    font-weight: bolder;
    font-size: 25px;
    right: 50px;
    top: 30px;
    cursor: pointer;
}

