/* --------------- practice area section CSS */

.services {
    width: 100vw;
    padding: var(--sections-padding);
    background-color: var(--pages-bg-color-1);
}

.practice_card_image img {
    width: 70px;
    height: 70px;
}

.practice_card_container {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    align-items: center;
    grid-gap: 10px 10px;
}

.practice_card {
    width: 28.5vw;
    height: 350px;
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #faf4ea9f);
    display: grid;
    align-items: start;
    justify-items: center;
    grid-template-rows: 30% 15% 55%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}

.practice_card h2 {
    text-align: center;
}

.practices_list_container {
    width: 100%;
    position: relative;
    padding: 1rem 1em 0em 1em;
    display: flex;
    align-items: start;
    justify-content: start;
    list-style: number;
    flex-direction: column;
    gap: 5px;
}

.practices_list_container li {
    font-size: 14px;
    text-wrap: nowrap;
}

.practice_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--button-bg-color), #8B5A2B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.practice_card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #ffffff, #ffffff) !important;
}

.practice_card:hover::before {
    transform: scaleX(1);
}

.practice_card_image {
    transition: transform 0.3s ease-in-out;
}

.practice_card:hover .practice_card_image {
    transform: scale(1.1);
}

.practice_card_content {
    transition: transform 0.3s ease-in-out;
}

.practice_card:hover .practice_card_content {
    transform: translateY(-5px);
}

/* practice area responsive*/

@media (max-width: 1200px) {

    .practice_card {
        width: 30vw;
        height: 320px;
        grid-template-rows: 4.5rem 2rem auto;
    }

    .practice_card_heading {
        font-size: 1rem;
    }

    .practice_card_content {
        font-size: 0.8rem;
    }

    .practices_list_container li {
        font-size: 0.8rem !important;
        line-height: 1.4;
    }
}

@media (max-width: 1000px) {

    .practice_card_container {
        grid-template-columns: auto auto;
        grid-gap: 10px;
    }

    .practice_card {
        grid-template-rows: 4.5rem 1rem auto;
        width: 45vw;
        height: 310px;
        padding: 1rem;
    }
}

@media (max-width: 700px) {

    .practice_card_container {
        grid-template-columns: auto;
        grid-gap: 1rem;
        padding: 0 1rem;
    }

    .practice_card {
        width: 75vw;
        height: 320px;
        grid-template-rows: 5rem 2rem auto;
        padding: 1.2rem;
    }

    .practices_list_container li {
        font-size: 0.7rem !important;
        line-height: 1.4;
    }
}

@media (max-width: 500px) {

    .practice_card_container {
        grid-template-columns: auto;
        grid-gap: 1rem;
    }

    .practice_card {
        width: 90vw;
        height: 310px;
        grid-template-rows: 5rem 2rem auto;
        padding: 1.2rem;
    }

    .practices_list_container li {
        font-size: 0.75rem !important;
    }
}


/* form css */

.contact {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 5% 0%;
    gap: 60px;

}

.contact-form {
    border: 2px solid rgba(0, 0, 0, 0.338);
    background: rgba(158, 158, 158, 0.65);
    width: 550px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.247);
    backdrop-filter: none;
    transition: 0.3s ease;
    position: relative;

}

.contact-form form {
    display: flex;
    opacity: 1;
    flex-direction: column;
    gap: 25px;
}

.colm-div {
    display: flex;
    align-items: start;
    gap: 18px;
}

.wrap-form-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.colm {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.contact-form input {
    height: 35px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #000;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    outline: none;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form button {
    margin-top: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #000, #222);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #222, #000);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* news */

.News {
    width: 100vw;
    padding: 2.5rem var(--sections-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--pages-bg-color-1);
}

.News h1 {
    padding-bottom: 2rem !important;
}

.news-paragraph {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
    font-size: 0.9rem;
}

.news-card-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.carouse-items {
    overflow: hidden;
    scroll-snap-align: start;
    position: relative;
    flex: 0 0 calc(33.333% - 0.5rem);
    height: 360px;
    border-radius: 10px;
    text-align: start;
    display: grid;
    grid-template-rows: auto auto auto;
    padding-bottom: 2rem;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-image img {
    width: 100%;
    height: 210px;
}

.news-card .date {
    padding-left: 2rem;
    font-weight: 900;
    color: grey;
}

.news-card .link {
    padding: 2rem;
    padding-bottom: 0px;
}

.news-card .link a {
    text-decoration: none;
    color: rgb(184, 96, 96);
    font-weight: 700;
}

.news-card .link a i {
    color: blue;
}

.news-card .link a:hover {
    color: blue;
}


.updates-button {
    margin-top: 2rem;
    padding: 18px 42px;
    background: linear-gradient(135deg, #5c7b97);
    color: #f5f5f5;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.updates-button:hover {
    background: linear-gradient(135deg, #677a8a);
    /* brown → blue */
    transform: translateY(-3px) scale(1.03);
}

.back-btn {
    width: 100%;
    padding: 10px 18px;
    margin-top: 2rem;
    border: 1px solid #3e3e3e;
    color: #2c3e50;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 4px;
    
    transition: all .25s ease;
}
.News #text{
    margin-bottom: 2rem;
    text-align: center;
    color: rgb(99, 99, 99);
}
.News #dots{
    font-size: 1.5rem;
    color: blue;
}
.read-more-button{
    font-size: 0.9rem;
    display: inline;
    border: none;
    background-color: var(--pages-bg-color-1-color);
    color: blue;
    font-weight: 900;
}
.read-more-button:hover{
    text-decoration: underline;
    cursor: pointer;
}
/* hover effect */

.back-btn:hover {
    border: 1px solid #ffffff;

    background: #828282;
    color: white;
    transform: translateX(-4px);
}

@media(max-width: 1200px) {
    .news-card .date {
        font-weight: 800;
    }

    .news-card .link {
        font-size: 0.75rem;
    }
}

@media(max-width: 1000px) {
    .news-card-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .updates-button {
        padding: 15px 30px;
        font-size: 16px;
    }

    .News {
        padding: 2rem;
    }

    .news-paragraph {
        font-size: 0.8rem;
    }
}

@media(max-width: 600px) {
    .News {
        width: 100vw;
        padding: 1.5rem;
    }

    .news-card-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.5rem;
    }

    .news-card .link {
        font-size: 0.7rem;
    }

    .news-paragraph {
        font-size: 0.7rem;
    }
    .back-btn {
        font-size: 0.85rem;
}
.News #text{
    font-size: 0.8rem;
}



/* news section  */