/* main content CSS */

* {
    scroll-behavior: smooth;
    overflow-x: visible;
}

main {
    width: 100vw;
    position: relative;
}

.wrap-container-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.header-content{
     height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    padding: 2rem;
    padding-top: 0.5rem;
    text-align: center;
}
.header-content>.wrap-container-2>p {
    width: 70vw;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: .9rem;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 1px black,
    1px -1px 1px black,
    -1px 1px 1px black,
    -1px -1px 1px black;
    padding: 1rem;
    border-radius: 1rem;
}

.header-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0; 
    width: 100vw;
    height: 100vh;
    background: url("../Images/laptop_banner.jpeg");
    background-size: cover;
    background-position: 50% 40%;
    background-repeat: no-repeat;
    z-index: -1;
}
/* ===== HEADING DESIGN ===== */

.header-heading{
    font-size: 2.8rem;
    font-family: "Times New Roman", serif;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #e4be42;

    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.419),
        0 4px 8px rgba(0, 0, 0, 0.467);
}

.header-lines{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    font-size: 1.4rem;
    margin-top: 10px;
    letter-spacing: 3px;
}

.header-lines::before,
.header-lines::after{
    content: "";
    width: 80px;
    height: 2px;
    background: #d4af37;
}
@media (max-width: 800px) {
    .header-lines{
    gap: 10px;
    font-size: 1.2rem;
}
    .header-lines::before,
.header-lines::after{
    width: 50px;
}
.header-heading{
    font-size: 1.8rem !important;
}
}
@media (max-width: 500px) {
    .header-heading{
    font-size: 1.5rem !important;
}
    .header-lines{
    gap: 10px;
    font-size: 1rem;
}
    .header-lines::before,
    .header-lines::after{
        width: 20px;
    }
}

/* Responsive header area */


@media (max-width: 1050px) {

    .wrap-container-2>p {
        width: 80vw !important;
        color: white !important;
    }

    .header-content {
        padding: 90px 0px 30px 0px;
    }

    .header-content::after {
        background: url("../Images/tablet_banner.jpeg");
        background-size: 100% 100%;
    }

}

@media (max-width: 600px) {
    
    .header-content {
        padding: 100px 0px 30px 0px;
    }
    .header-content::after {
        background: url("../Images/phone_banner.jpeg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        z-index: -1;
    }
}

/* our lead content CSS */

.services * {
    font-family: var(--fontfamily-1);
}


.our-lead>h1>div {
    text-align: left;
}

.our-lead {
    width: 100vw;
    padding: 4% 8%;
    background: rgb(255, 255, 255);
}

.wrap-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.left-lead-section {
    width: 40vw;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 2rem;
}

.education {
    font-weight: 800 !important;
    color: rgb(120, 106, 36) !important;
}

.info {
    border-left: 2px solid var(--button-bg-color);
    padding-left: 20px;
    text-align: justify;
}

.info>p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.signature img{
    width: 200px;
}

/* .signature::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    background: url("../Images/signature.png");
    background-size: contain;
    background-repeat: no-repeat;
} */

.lead_image {
    background: url("../Images/Himanshu_beotra\ -\ Copy.jpeg");
    background-size: cover;
    width: 420px;
    height: 550px;
    border-radius: 1rem;
}

/* services content CSS */


.practice_area {
    padding: 0rem 3rem;
    transform: translateY(-10%);
    background-color: var(--pages-bg-color-2);
}

.practice_card {
    height: 320px;
    grid-template-rows: 5rem 2rem auto;
}


/* attorneys header  */

.attorneys {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--pages-bg-color-2);
    font-family: var(--fontfamily-1);
    padding: 3rem;
}

.attorneys_header::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("../Images/office_2.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
    filter: blur(3px) brightness(50%);
    z-index: -1;
}

.attorneys_header {
    position: relative;
    width: 100vw;
    height: 250px;
    display: grid;
    align-content: center;
    justify-items: center;
}

.attorneys_header h1 {
    padding-bottom: 30px;
}

.attorneys_header h1 br {
    display: none;
}

/* Responsive Attorneys Header */
@media (max-width: 600px) {
    .attorneys_header {
        height: 200px;
    }

    .attorneys_header h1 {
        font-size: 1.2rem;
        padding-bottom: 20px;
        text-align: center;
        line-height: 1.4;
    }

    .attorneys_header h1 br {
        display: block;
    }
}


/* attorneys content CSS */
.attorneys_card_container {
    width: 90vw;
    box-sizing: border-box;
    padding: 0% 1%;
    overflow-x: hidden;
}

.attorneys_card_container a {
    text-decoration: none;
}

.cards_carousel_container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
    transition: transform 0.4s ease;
}

.attorney_card {
    flex: 0 0 calc((100% - 40px) / 3);
    display: flex;
    border-radius: 1rem;
    flex-direction: column;
    border: 1px solid black;
    background-color: #f0eeee;
    transition-duration: 0.2s;
    overflow: hidden;
}

.attorney_card:hover {
    transform: translateY(-4px);
}


.attorney_photo {
    width: 100%;
    height: 380px;
    margin-bottom: 10px;
    position: relative;
}

.attorney_photo>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.attorney_photo_1 {
    background: url("../Images/Advocate_5.jpeg");
    background-size: cover;
    background-position: center;
}

.attorney_photo_2 {
    background: url("../Images/Advocate_3.jpeg");
    background-size: cover;
    background-position: center;
}

.attorney_photo_3 {
    background: url("../Images/Advocate_1.jpeg");
    background-size: cover;
    background-position: center;
}

.attorney_photo_4 {
    background: url("../Images/Advocate_4.jpeg");
    background-size: cover;
    background-position: center;
}

.attorney_photo_5 {
    background: url("../Images/Advocate_2.jpeg");
    background-size: cover;
    background-position: center;
}

.attorney_photo img {
    border-radius: 1rem 1rem 0rem 0rem;
    width: 100%;
    height: 380px;
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleY(1.01) scaleX(1.005);
}

#nextBtn {
    display: none;
}

.attorney_card h2 {
    padding: 8px;
}

.attorney_card p {
    font-weight: 700;
    padding-bottom: 20px;
}

@media (max-width: 900px) {
    .attorney_card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .names {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .attorney_card {
        flex: 0 0 calc((100% - 5px) / 1);
    }

    .names {
        font-size: 1rem;
    }
}

@media (min-width: 1400px) {
    .attorney_photo {
        height: 500px;
    }

    .attorney_photo img {
        height: 480px;
    }
}

/* contact content CSS */

.contact::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -99;
    background: url("../Images/our_team_2.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.left_container {
    width: 480px;
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 2.5rem;
    text-align: center;
}

.left_container .contact_logo img {
    width: 150px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
}

.large-heading-1 {
    font-size: 2.4rem;
    color: black;
    text-shadow: 0.5px 0.5px 0.5px white,
    0.5px -0.5px 0.5px white,
    -0.5px 0.5px 0.5px white,
    -0.5px -0.5px 0.5px white;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.chamber-time {
    display: flex;
    gap: 1.8rem;
    overflow: visible;
}

.left_container .timing,
.left_container .chamber {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.3rem;
    width: 260px;
    border-radius: 16px;
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.left_container .timing:hover,
.left_container .chamber:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.25);
}

.left_container h2 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cards_paragraph {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

/* -------------------------------- */






@media (max-width: 1200px) {
    .contact {
        gap: 40px;
        padding: 4% 0%;
    }

    .left_container {
        width: 400px;
        gap: 2rem;
    }

    .left_container .contact_logo img {
        width: 130px;
    }

    .large-heading-1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .left_container h2 {
        font-size: 0.9rem;
    }

    .cards_paragraph {
        font-size: 0.7rem;
    }

    .left_container .timing,
    .left_container .chamber {
        width: 200px;
        padding: 1rem;
    }

    .contact-form {
        width: 420px;
        padding: 35px;
    }

    .contact-form label {
        font-size: 13px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 12px;
    }

    .contact-form button {
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .contact {
        display: grid;
        grid-template-rows: auto auto;
        gap: 30px;
        padding: 40px 20px;
    }

    .left_container {
        width: 100%;
        margin: 0 auto;
        justify-items: center;
    }

    .contact-form {
        width: 80vw;
        margin: 0 auto;
        padding: 30px 25px;
    }
}

@media (max-width: 500px) {
    .contact {
        padding: 30px 15px;
        gap: 25px;
    }

    .left_container {
        gap: 1.5rem;
    }

    .left_container .contact_logo img {
        width: 100px;
    }

    .large-heading-1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .chamber-time {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .left_container .timing,
    .left_container .chamber {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem;
    }

    .left_container h2 {
        font-size: 0.8rem;
    }

    .cards_paragraph {
        font-size: 0.7rem;
    }

    .contact-form {
        width: 90vw;
        padding: 20px 15px;
    }

    .contact-form label {
        font-size: 12px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 13px;
    }

    .contact-form button {
        padding: 12px;
        font-size: 13px;
    }
}

footer {
    font-family: var(--fontfamily-1);
}

/* Responsive Main Content */
@media (max-width: 1200px) {
    .our-lead {
        padding: 3rem 3.5rem;
    }

    .left-lead-section {
        width: 45vw;
    }

    .lead_image {
        width: 400px;
        height: 500px;
    }

    .info>p {
        font-size: 0.9rem;
    }

    .signature img {
        width: 150px;
        height: 60px;
    }
}

@media (max-width: 1000px) {
    .our-lead {
        padding: 2rem 3rem;
    }

    .our-lead h1 div {
        font-size: 2rem;
    }

    .left-lead-section {
        width: 43vw;
    }

    .lead_image {
        width: 320px;
        height: 420px;
    }

    .info>p {
        font-size: 0.75rem;
    }

    .signature img {
        width: 120px;
        height: 50px;
    }
}

@media (max-width: 800px) {
    .wrap-container {
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0rem 1.5rem;
    }

    .our-lead>h1>div {
        text-align: center;
        font-size: 2rem;
    }

    .lead_image {
        width: 330px;
        height: 390px;
        margin: 1rem 0 1.5rem 0;
        order: 1;
    }

    .left-lead-section {
        margin-top: 0;
        width: 70vw;
        order: 2;
    }

    .info>p {
        font-size: 0.8rem;
        text-align: justify;
    }

    .signature img {
        width: 100px;
        height: 40px;
    }
}

@media (max-width: 450px) {
    .our-lead {
        padding: 1.5rem 1rem;
    }

    .our-lead>h1>div {
        font-size: 1.5rem;
    }

    .lead_image {
        width: 250px;
        height: 300px;
    }

    .left-lead-section {
        width: 85vw;
    }

    .info>p {
        font-size: 0.7rem;
    }

    .signature img {
        width: 80px;
        height: 35px;
    }
}