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

/* body {
          background-color: #ffffff;
          color: #333;
          line-height: 1.6;
      } */

.container_cstm {
    max-width: 1300px;
    margin: 0 auto;
    /* padding: 40px 20px; */
    padding-bottom: 3rem;
    /* padding-top: 3rem;
    margin-top: 3rem; */
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.content {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: #111;
    margin-bottom: 40px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}



.map-container-laptop {
    flex: 1;
    /* min-width: 500px; */
    width: 560px;
    height: 500px;
    position: relative;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    /* border-radius: 4px; */
}

.map-container-mobile {
    display: none;
    margin: auto;
    width: 93%;
    height: 400px;
    position: relative;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    /* border-radius: 4px; */
    margin-bottom: 30px;
    order: 1;
}

.svg-content {
    position: absolute;
    /* cursor: grab; */
    width: 2430px;
    height: 2180px;
    /* transition: transform 0.5s ease-out; */
    transform: translate(-935px, -802px) scale(0.3);
}

@media (max-width:768px){
    .svg-content {
        position: absolute;
        /* cursor: grab; */
        width: 2430px;
        height: 2180px;
        /* transition: transform 0.5s ease-out; */
        transform: translate(-1000px, -872px) scale(0.2);
    }
}

.svg-content:active {
    cursor: grabbing;
    transition: none;
}

.legend {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-bottom: 10px;
}

.legend-item:hover {
    background-color: #f5f5f5;
}

.legend-item.active {
    background-color: #f0f0f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legend-color {
    width: 42px;
    height: 42px;
    margin-right: 10px;
    flex-shrink: 0;
}

.legend-text {
    /* font-family: var(--body-font) !important; */
    display: flex;
    flex-direction: column;
}

.legend-title {
    font-weight: var(--fw-600);
    font-size: var(--fs-18);
    color: var(--body-color);
}

.legend-subtitle {
    font-size: var(--fs-14);
    font-weight: var(--fw-400);

    color: var(--body-color);
}

.location-popup {
    position: absolute;
    background-color: white;
    padding: 10px 15px;
    /* border-radius: 6px; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: var(--body-color);
    z-index: 7;
    transform: translate(-50%, -120%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.location-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.location-popup-title {
    font-weight: 500;
    font-size: 16px;
    color: #333;
    margin-bottom: 2px;
}

.location-popup-subtitle {
    font-size: 14px;
    color: #777;
}

.location-popup.visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .container_cstm {
        flex-direction: column;
    }

    .content {
        max-width: 100%;
        width: 100%;
    }

    h1 {
        font-size: 36px;
        order: 0;
    }

    .map-container-laptop {
        display: none;
    }

    .map-container-mobile {
        display: block;
    }

    .legend {
        grid-template-columns: repeat(2, 1fr);
        order: 2;
        margin-top: 0;
        margin-bottom: 30px;
    }

    p {
        order: 3;
        /* margin-bottom: 30px; */
    }
}

@media (max-width: 480px) {
    .legend {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

.manufac_heading {
    font-family: var(--heading-font);
    font-size: var(--fs-h2);
    font-weight: var(--fw-700);
}

.manufac_para {
    font-style: italic;
    font-family: var(--body-font);
    font-size: var(--fs-18);
    line-height: 1.5 !important;
    color: var(--body-color) !important;
    letter-spacing: 0.5px;
    font-weight: normal;
}


@media (min-width: 768px) {
    .container_cstm {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container_cstm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container_cstm {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container_cstm {
        max-width: 1300px;
        /* Your original width for big screens */
    }
}

@media (max-width:500px) {
    .manufac_heading {
        font-size: var(--fs-32);
        text-align: center;
    }

    .manufac_para {
        padding: 0.8rem;
        margin-bottom: 2rem;
    }

    .container_cstm {
        padding-top: 0px;
        margin-top: 0px;
        padding-bottom: 0px;
        margin-bottom: 0px;
    }


    .legend {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 2.45%;
    }

    .legend-item {
        flex: 0 0 48%;
        /* 2 items per row */
    }

}

.tab-link {
    /* position: sticky; */
    top: 55px;
    z-index: 1000;
}

.tab-link.is-sticky {
    position: sticky;
    top: 60px;
    z-index: 8;
    background-color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: #212529;
    border-bottom: 1px solid #dee2e6;
}

.tab-link.is-sticky .container {
    padding-left: 15px;
    padding-right: 15px;
}

.tab-link.is-sticky .details_tab_link {
    background: none;
    border: none;
    padding: 0;
    margin-right: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #212529;
    border-left: 1px solid #ccc;
}


.tab-link.is-sticky .nav-tabs {
    justify-content: flex-start !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0;
}

.tab-link.is-sticky .details_tab_link {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--bs-gray-500);
    border-left: 1px solid #ccc;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-width: 150px; */
    text-align: center;
    margin-right: 0px;
    letter-spacing: 0.5px;
}

.tab-link.is-sticky .details_tab_link:first-child {
    border-left: none;
}

.tab-link.is-sticky .details_tab_link.active {
    color: var(--primary);
}

@media (max-width:767px) {
    .design_03 h2 {
        font-size: 3rem;
        position: relative;
        line-height: 1;
    }

    .design_03 h2>div {
        position: relative;
        display: inline-block;
        padding-right: 1.5rem;
    }

    .design_03 sup {
        font-size: 0.8rem;
        position: absolute;
        top: 0;
        right: 0;
        left: 85%;
    }

    .design_03 h2 sup {
        /* position: absolute; */
        bottom: 0;
        height: auto;
        top: -5% !important;
        color: black !important;
        font-weight: 600;
        /* font-size: var(--fs-14); */
        font-size: 12px;
    }
}


@media (min-width: 768px) and (max-width: 1199px) {
    .design_03 h2 {
        font-size: 3rem;
        position: relative;
        line-height: 1;
    }

    .design_03 h2>div {
        position: relative;
        display: inline-block;
        padding-right: 1.5rem;
    }

    .design_03 sup {
        font-size: 0.8rem;
        position: absolute;
        top: 0;
        right: 0;
        left: 48%;
    }

    .design_03 h2 sup {
        /* position: absolute; */
        bottom: 0;
        height: auto;
        top: -5% !important;
        color: black !important;
        font-weight: 600;
        /* font-size: var(--fs-14); */
        font-size: 12px;
    }
}


/* For mobile devices */
@media (max-width: 767px) {
    .location_custom {
        padding-right: inherit !important;
    }

    .locations-address{
        margin-bottom: 0;
    }

    .locations-address [class*="icon-"],
    .locations-address [class^="icon-"] {
        width: 36px !important;
    }
}

/* .locations-address {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
} */


.custom_location_css{
    font-family: 'Urbanist';
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about_sec_text{
    font-size: 14px;
    font-weight:400;
}

@media (min-width:567px){
 .icon-location_pin{
    margin-top: -6%;
 }   
}

.rotate-icon {
    transition: transform 0.3s ease;
  }
  
  .rotate-icon.rotated {
    transform: rotate(180deg);
  }
  