/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #fff;
}


.header__button {
    padding: 14px 12px;
    border-radius: 4px;
    width: 145px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header_login_button {
        font-family: 'Inter', sans-serif;

    padding: 14px 12px;
    border-radius: 4px;
    width: 125px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border:1px solid #CDA048;
    color: #fff;
}

.response-message{
    color: black;
}

.button {

    padding: 20px 24px;
    border-radius: 4px;
    /* width: 60%; */
    height: 60px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.button--primary {
    background-color: #CDA048;
    color: #fff;
    border: none;
}

.button--primary:hover {
    background-color: #b89348;
}


.button--secondary {
    background-color: #fff;
    color: #000;
    border: none;
}

.button--secondary:hover {
    background-color: #cfcfcf;
}

.button--outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.button--outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero block */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    /* Add will-change for better performance */
    will-change: transform;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Optimize rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Progressive loading effect */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.hero__bg-image.loaded {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.6); */
    z-index: 1;
}

/* Header block */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    margin: 0 20px;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.practice-area-link{
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color:#FFFFFF;
    text-decoration: none;
    
}

.header__arrow{
    margin-left: 0.5rem;
    height: 15px;
    width: 24px;
    margin-top: 4px;
    position: absolute;
}

.hero__cta :hover .header__arrow{
    margin-left: 1rem;
    transform: scale(1.05);
        transition: all 0.3s ease;

}


.header__divider {
    /* border-left: 3px solid rgba(255, 255, 255, 0.1); */
    height: 75px;
}

.header__logo {
    flex: 0 0 10%;
    padding: 16px 48px 0 0;
}

.group_divs {
    flex: 0 0 46%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.header__logo img {

    width: 250px;

}

.header__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.header__contact {
    flex: 0 0 25%;
    display: flex;
    justify-content: end;

    align-items: center;
    gap: 35px;
}

/* .header__logo_right{
    width: 30px;
} */
.header__contact a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;

}

.header-phone-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__phone {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

/* Navigation component */
.nav {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;

}

.nav__item {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15.03px;
}

.nav__link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #CDA048;
}

/*  for mobile responsiveness */
/* Hamburger base */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 999;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}



/* Hero content */
.hero__content {
    padding: 4rem 0;
    width: 80%;
    margin-left: 18.5%;
    margin-right: 7.5%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
}

.hero__title {
    font-family: 'Jomolhari', serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 60.19px;
    margin-bottom: 20px;
}

.hero__title br {
    display: block;
}

.hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__cta {
    display: flex;
    gap: 20px;
    width: 100%;
}

.contact__textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    border: 1px solid #b1b1b1 !important;
    color: black;
    border-radius: 4px;
    margin-bottom: 10px;
}

@media (max-width:400px) {
    .hero__title {
        width: 100%;
        font-size: 39.02px;
    }

    .team__quote {

        padding: 0 !important;
    }
}

@media (max-width:500px) {
    .hero__cta {
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
        width: 100%;
    }

    .button {
        width: 100%;
        padding: 20px 20px;
    }

    .hero__content {
        margin-top: 10px;
    }
}

/* team group photo section started here css */
.team-group-photo {
    width: 100%;
}

.team-group-photo img {
    width: 100%;
}

/*  for mobile reponsiveness code here to test him accordinlgy */
/* Responsive Rules */

.hamburger {
    display: none;
    /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.hamburger__line {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
}

.mobile-menu--active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu__logo img {
    width: 240px;
}

.mobile-menu__close {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu__close-line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: black;
    position: absolute;
    top: 50%;
    left: 0;
}

.mobile-menu__close-line:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu__close-line:last-child {
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu__nav {
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 20%;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu__item {
    margin-bottom: 30px;
}

.mobile-menu__link {
    font-family: 'Inter', sans-serif;

    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: #CDA048;
}

.mobile-menu__contact {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu__phone {
    display: block;
    color: black;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 22px;
}

/* Media Queries for Responsive Design */
@media (max-width: 900px) {

    /* Show hamburger on tablet and mobile */
    .hamburger {
        display: block;
    }

    /* Hide regular navigation and contact on tablet and mobile */
    .header__nav,
    .header__contact,
    .header__divider {
        flex: 0;
        display: none;
    }

    .group_divs {
        flex: 0 !important;
    }

    .header {
        justify-content: space-between;
        padding: 10px 15px;
        margin: 0 15px;
    }

    .hero__title br {
        display: none;
    }

    .hero__cta {
        display: flex;
        flex-direction: column;
        margin-bottom: 30%
    }

    .hero__content {
        margin-top: 20%;
        margin-left: 5.5% !important;
    }

    .hero__subtitle {
        line-height: 23px;
    }
}

@media (max-width: 1600px) {

    .hero__content {
        width: 90%;
        margin-left: 10%;
        margin-right: 5%;
        padding: 2rem 0;
    }
}

@media (max-width: 1200px) {

    .hero__content {
        width: 90%;
        margin-left: 8%;
        margin-right: 5%;
        padding: 2rem 0;
    }
}

@media (max-width: 1100px) {

    .hero__content {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 10px;
        margin: 0 10px;
    }

    /* .header__logo img {
        width: 160px;
    } */
    .hero__content {
        width: 90%;
        margin-left: 3%;
        margin-right: 5%;
        padding: 2rem 0;
    }

}

@media (max-width: 480px) {
    .header {
        padding: 10px 5px;
        margin: 0 5px;
    }

    .hero__content {
        width: 92%;
        margin-left: 2%;
        margin-right: 4%;
        padding: 1.5rem 0;
    }
}

/*  team group photo ended css */

/* blogs section here css code start here  */

.blogs-container {
    width: 100%;
    padding: 4rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

/* Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.header-content {
    /* margin-right: 20px; */
    color: black;
}

.blog-label {
    font-family: 'Inter', sans-serif !important;
    color: #CDA048;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.blog-label h1 {
    font-family: 'Jomolhari' serif;
    font-weight: 400;
    font-size: 29.35px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    color: #555;
    max-width: 500px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-actions a {
    text-decoration: underline;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.view-all {
    font-family: 'Inter', sans-serif;
    color: #CDA048;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.arrow {
    margin-left: 5px;
}

/* Articles Section */
.articles-container {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

/* .article-card {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
} */
.article-card h2 {
    color: black;
}

.article-image {
    overflow: hidden;
    margin-bottom: 15px;
}

.article-image img {
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
}

.article-categories {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.category {
    font-size: 14px;
    color: #555;
}

.separator {
    margin: 0 8px;
    color: #555;
}

.article-title {
    font-family: 'jomolhari', serif;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
    font-size: 32px;
}

.learn-more {
    font-family: 'Inter', sans-serif;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.learn-more:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-section {
        flex-direction: column;
        align-items: baseline;
    }

    .header-content {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .header-actions {
        width: 80%;
    }

    .articles-container {
        flex-direction: column;
        gap: 2rem;
    }

    .article-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-image {
        height: 180px;
    }
}

/* blogs section css ended here  */

/*  team member section here which i have added  */

.team {
    background-color: #efeeee;
}

.team-member__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;

}

.team__header {
    margin-bottom: 1rem;
    text-align: left;
}


/* .team__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #b8860b;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
} */

/* .team__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 700px;
} */

.team__divider {
    display: flex;
    margin-top: 2rem;
}

.team__divider-line {
    height: 2px;
    display: inline-block;
}

.team__divider-line--dark {
    width: 100px;
    background-color: #1a1a1a;
}

.team__divider-line--light {
    width: 100px;
    background-color: #e0e0e0;
}

/* Team Member Card */
.team-member {
    position: relative;
    /* overflow: hidden; */
    border-radius: 4px;
}

.team-member__image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.team-member__image {
    width: 350px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member__overlay {
    /* position: absolute;
    bottom: 20;
    left: 50%;
    width: 95%;
    background: #132030;
      padding: 1rem;
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.3s ease; */

    position: absolute;
    bottom: 3%;
    left: 4.5%;
    transform: translateY(5px);
    width: 90%;
    background: #132030;
    padding: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.team-member__info {
    color: #fff;
    position: relative;
}

.team-member__name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member__position {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.article-image:hover .article-img {
    transform: scale(1.05);
}

.blog-click-area:hover .blog-arrow {
    transform: translate(5px, -5px);
}

.learn-more img {
    width: 2%;
}


.blog-arrow {
    transition: transform 0.5s ease;
}

.services-card__link:hover .blog-arrow {
    transform: translate(5px, -5px);
}

.article-img {
    transition: transform 0.5s ease;
}





.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(205, 160, 72, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.shine-effect:hover::before {
    left: 100%;
}

/* For highlighted card */
.services-card--highlighted.shine-effect::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}









.team-member__arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    top: -10px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transform: translateX(0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.team-member__arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.team-member:hover .team-member__image {
    transform: scale(1.05);
}

.team-member:hover .team-member__overlay {
    opacity: 1;
    transform: translateY(0);
}



/* .team__image-container:hover .team-member-main__overlay {
    opacity: 1;
    transform: translateY(0);

} */

.team-member:hover .team-member__arrow {
    background: #132030;
    color: #fff;
}

.team-member:hover .team-member__arrow svg {
    transform: translateX(3px);
}

/* Second Team Section - Alternative Style */
.team-alt {
    padding: 5rem 2rem;
    background-color: #f8f8f8;
}

.team-alt__container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-alt__header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-alt__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #CDA048;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-alt__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.team-alt__divider {
    width: 80px;
    height: 3px;
    background-color: #b8860b;
    margin: 0 auto;
}

.team-alt__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}


/* Responsive Styles */
@media (min-width: 640px) {

    .team-alt__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .team-alt__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team__title,
    .team-alt__title {
        font-size: 3.5rem;
    }
}

/* team member section ended css */

/*  conatct form css start here accordingly  */

.contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact__container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact__left {
    flex: 1;
    min-width: 300px;
}

.contact__right {
    flex: 1;
    min-width: 300px;
}

.contact__subtitle {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;

}

.contact__title {
    font-family: 'Jomolhari', serif;
    font-size: 39px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.0;
    color: black;
}

.contact__text {
    color: #4B5465;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
font-size: 20px;
    margin-top: 5rem;
}

.team__header_text {
    margin-top: 17rem;
    color: #4B5465;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
    font-size: 20px;   
}

.contact__form {
    width: 100%;
}

.contact__form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.contact__form-group {
    flex: 1;
    margin-bottom: 20px;
}

.contact__input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid rgb(182, 177, 177);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.contact__input:focus {
    border-color: #555;
}

.contact__select-wrapper {
    position: relative;
}

.contact__select-wrapper::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #555;
    pointer-events: none;
}

.contact__select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid rgb(182, 177, 177);
    font-size: 16px;
    appearance: none;
    background-color: white;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.contact__select:focus {
    border-color: #555;
}

.contact__button {
    background-color: #0f1a2a;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.contact__button:hover {
    background-color: #1b3968;
}

/* For tablets and smaller desktops */
@media (max-width: 992px) {
    .contact__container {
        gap: 30px;
    }

    .contact__title {
        width: 100%;
        /* Remove fixed width constraint on smaller screens */
        font-size: 28px;
    }
}

/* For mobile devices */
@media (max-width: 768px) {

    .team-member .team-member__overlay {
        opacity: 1;
    }

  .contact__text {
         font-size: 18px;
        margin-top: 1.5rem;
    }
    .hero__content {
        margin-top: 6rem;
        margin-left: 5.5% !important;
    }


    .header__logo {
        flex: 0 0 10%;
        padding: 9px 49px 0 8px;
    }

    .team-member__arrow {
        background-color: transparent;
    }


    .contact__container {
        flex-direction: column;
        gap: 20px;
    }

    .contact__left,
    .contact__right {
        flex: none;
        width: 100%;
    }

    .contact__form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .contact__form-group {
        margin-bottom: 15px;
    }

    .contact__button {
        width: 100%;
        /* Full-width button on mobile */
        padding: 12px 20px;
    }

    .contact__title {
        font-size: 24px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .contact {
        padding: 20px 15px;
    }

    .contact__subtitle {
        font-size: 14px;
    }

    .contact__title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .contact__text {
        font-size: 18px;
        margin-top: 1.5rem;
    }

    .contact__input,
    .contact__select {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/*  about the firm section start here  */

.team {
    padding: 4rem 2rem;
    background-color: #FAFAFA;
}

/* Team container - Element */
.team__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    position: relative;
}

.team__content {
    flex: 1;
    position: relative;
}


.team__description_for_web {
    max-width: 100%;
    position: absolute;
    bottom: 10px;
    margin-left: 3%;
}

.team__description_for_web p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #000000;
    font-weight: 400;
}

.team__image-container {
    flex: 1;
    min-width: 560px;
}

.team__container_header {

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* aligns children to bottom */
    height: 100%;
    /* or a fixed height */
}

.team__flex {
    display: flex;
    /* align-items: center;
    justify-content: center; */
    gap: 1.5rem;
}

/* Team content - Element */
.team__content {
    display: flex;
    flex-direction: column;
}

.team__header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team__header-container h2 {
    width: 50%;
}

/* Team label - Element */
.team__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 100%;
    font-weight: 400;
    color: #CDA048;
    letter-spacing: 1px;
    margin-bottom: 2px;
    margin-left: 1rem;
}

.team__title {
    font-family: 'Inter', serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
    /* Changed from fixed px to relative line-height */
    color: #000;
    text-transform: uppercase;

    overflow: visible;
    /* or remove if not needed */
    white-space: normal;
    /* allows line wrapping */
    word-wrap: break-word;
    /* breaks long words if needed */
}

/* Team quote - Element */
.team__quote {
    position: relative;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

/* Team quote mark - Element */
.team__quote-mark {
    font-size: 4rem;
    line-height: 0;
    color: #CDA048;
    position: relative;
}

/* Team quote mark open - Modifier */
.team__quote-mark--open {
    top: 2rem;
    left: 0rem;
}

/* Team quote mark close - Modifier */
.team__quote-mark--close {
    bottom: -1rem;
    right: -16rem;
}

/* Team quote text - Element */
.team__quote-text {
    font-family: 'jomolhari' serif;
    max-width: 480px;
    font-size: 55px;
    font-weight: 400;
    line-height: 55.09px;
    color: #000;
}

/* Team description - Element */
.team__description_for_mobile {
    display: none;
}


/* Team image container - Element */
.team__image-container {
    flex: 1;
    min-width: 560px;
    position: relative;
    overflow: hidden;
}

/* Team image - Element */
.team__image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member-main__overlay {
    position: absolute;
    bottom: 3%;
    left: 4.5%;
    width: 90%;
    background: #132030;
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.team__image-container:hover .team-member-main__overlay {
    opacity: 1;
    transform: translateY(0);
}

.team__image-container .team__image {
    transition: transform 0.3s ease;
}

.team__image-container:hover img {
    transform: scale(1.05);

}

.team__image-container:hover .team-member__arrow {
    background: #132030;
    color: #fff;
}



@media (max-width:600px) {

    .team__header-container {
        display: flex;
        flex-direction: column;
    }

    .team__label {
        display: flex;
        margin-left: 0px;
        /* justify-content: center; */
    }

    .team__flex {
        display: flex;
        flex-direction: column;
    }

    .team__header-container h2 {
        width: 100%;
    }


    .team-member__image {
        width: 100%;

    }
}

@media screen and (min-width:600px) and (max-width:750px) {
    .team__header-container {
        display: flex;
        flex-direction: column;
    }

    /* .services__title{
        text-align: left !important;
    } */



}

@media (max-width:750px) {
    .team__container {
        display: flex;
        flex-direction: column;
    }


}

@media screen and (min-width: 750px) and (max-width: 900px) {
    .team__image-container {
        min-width: 431px;
    }
}

@media screen and (min-width: 900px) and (max-width: 950px) {
    .team__image-container {
        min-width: 500px;
    }
}

/* firm team section ended now */

/* Services block start css */
.services {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}



.services__header {
    display: flex;
    flex-direction: column;
    /* margin-bottom: 60px; */
}

.services__label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #CDA048;
    margin-bottom: 2px;
}

.service_wrapper {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    gap: 1rem;
    width: 70%;
}

.services__title {
    font-family: 'jomolhari' serif !important;
    font-size: 35px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.2;
    color: black;
}

.services__description {
    font-family: 'Inter', sans-serif;

    font-size: 16px;
    color: #555;
    max-width: 500px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Services card block */
.services-card {
    /* background: #F9F9F9 !important; */
    background-color: #F9F9F9 ;
    padding: 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    position: relative;
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}


.services-card__link {
    color: #fff;
}

.services-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: #c8a45c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-card__icon {
    color: #fff;
}

.services-card__icon img {
    width: 60%;
    height: 60%;
}

.services-card__title {
    font-family: 'jomolhari', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.3;
    color: black;
}

.services-card__link {
    margin-top: auto;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.services-card__link a {
    text-decoration: none;
    color: #1a1a1a;
}

.services-card__link a:hover {
    text-decoration: underline;
}


.services-card__link img {
    width: 15%;
    height: 25%;
    transition: transform 0.3s ease;
}

.white_arrow {
    display: none;
}

/*  for service card background hover chnage color  */
.services-card:hover {
    background: linear-gradient(179.82deg, #FFFFFF -17.17%, #CDA048 99.85%);

    .services-card__title {
        color: white;
    }

    .services-card__link a {
        color: white;
    }

    .white_arrow {
        display: block;
    }

    .black_arrow {
        display: none;
    }

}

.services-card__link img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(211, 49, 49, 0.4);
    /* Red overlay */
    opacity: 0;
    transition: opacity 0.3s;
}

.services-card__link img:hover::after {
    opacity: 1;
    transform: translate(3px, -3px);

}

.services-card__link:hover {
    color: #c8a45c;
}

.services-card--highlighted .services-card__link:hover {
    color: #fff;
    opacity: 0.9;
}

.services-card__link:hover svg {
    transform: translateX(4px);
}

.services-card__link:hover .services-card__link img:hover {
    transform: translate(3px, -3px);
}

@media (max-width: 830px) {
    .service_wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .services__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }


    .services__title {

        margin-bottom: 5px;

    }

}

@media (max-width:500px) {
    .services__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}

/*  services section end now  */

/* footer css start  */

.footer {
    background: url("../images/foot-bg.svg") center;
    position: relative;
    color: white;
    padding: 40px 0 0;
    overflow: hidden;
}


.container {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    gap: 5rem;
    padding: 20px 20px 10px 20px;
    background: url("../images/footer-map-bg.svg") center/cover no-repeat;
}

.logo {
    position: relative;
    height: 25.34px;
    margin: 0 auto;
}

.logo h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 2px;
}

.logo p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: end;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    width: 100%;
}

.copyright p {
    font-family: 'Inter', sans-serif;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-item p {
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
}

.icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-container {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #D9D9D933;
    z-index: 1;
}

.icon-container i {
    font-size: 18px;
}

.copyright {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px !important;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    /* border: 1px solid red; */
}

.copyright a {
    color: white;
    text-decoration: underline;
}


@media (max-width: 768px) {
    .header_login_button {   
    width: 100%;   
    color: black;
    margin-top: 1rem;
        padding: 20px 20px;

  }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .services__header {
     margin-bottom: 30px;
    }

    .contact-item {
        margin: 15px 0;
    }

    .team__content {
        margin-top: 0%;
    }

    .team {
        padding: 2.5rem 1rem;
    }

    .team__quote-mark--open {
        top: 2rem;
        left: 0rem;
    }

    .team__quote-mark--close {
        bottom: 0rem;
        right: -12rem;
    }

    .team__image-container {
        min-width: 100%;
    }

    .services {
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .blogs-container {
        padding: 2.5rem 1rem;
    }

    .team__description_for_web {
        display: none;
    }

    .team__description_for_mobile {
        display: block;
    }

    .team__description_for_mobile p {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        line-height: 1.6;
        color: #333;
    }

    .team-member-main__overlay {
        opacity: 1;
        margin-bottom: 7%;
    }


    .hero__title {
        font-size: 35px;
        font-weight: 500;
        line-height: 48.19px;
        margin-bottom: 16px;
    }

    .team-member__container {

        padding: 0rem 0rem
    }

    .team__header_text {
    font-size: 18px;   

        margin-top: 1.5rem;
    }

    .team__quote {
        margin-bottom: 0rem
    }

    .team__quote-text {

        font-size: 40px;
        line-height: 48.09px;
    }

}

/* Add at the very top of the CSS file, after the reset */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* This ensures content isn't hidden behind fixed header */
}

/* For Safari and older browsers support */
@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}