@font-face {
    font-family: "Gotham";
    src: url("../fonts/gotham-book-webfont.woff2") format("woff2");
    font-weight: 400;
}

@font-face {
    font-family: "Gotham";
    src: url("../fonts/gotham-medium-webfont.woff2") format("woff2");
    font-weight: 500;
}

/* ---------- TABS (UL / LI) ---------- */
.tab-buttons {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    gap:20px;
    overflow: hidden;
}

.tab-buttons li {
    cursor: pointer;
    gap: 10px;
    angle: 0 deg;
    opacity: 1;
    border-radius: 65px;
    padding: 12px 30px !important;
    border: 1px solid #54565A;
    color: #54565A;
    background: #fff;
    font-family: Gotham;
    font-weight: 400;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
}

.tab-buttons li.active {
    background: #114B5F;
    color: white;
}

.tab-content {
    margin: auto;
    display: none;
}

.tab-content.active {
    display: block;
}
.accordion {
    width: 100%;
    margin:50px 0;
}

/* Parent Item Styling */
details {
    background: var(--item-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

summary {
    color: #114B5F !important;
    padding: 0px !important;
    font-family: Gotham;
    font-weight: 400;
    font-size: 34px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    display: block;
    cursor: pointer;
}

.acc-icon, .sub-acc-icon{
    width: 35px;
}


.acc-icon, .sub-acc-icon {
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.3s ease;
    margin-left: 8px; /* spacing between text and icon */
}

details[name="main-nav"][open] .acc-icon {
    transform: rotate(0deg); /* rotate when open */
}

details[name="sub-nav-2"][open] .sub-acc-icon {
    transform: rotate(0deg); /* rotate when open */
}
.content {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.3s ease-out;
}

/* Sub-Accordion Styling */
.sub-accordion {
    margin-top: 15px;
}

.sub-accordion details {
    background: var(--sub-bg);
    border-color: #cbd5e1;
    margin-bottom: 8px;
}

.sub-accordion  {
    padding-left:100px;
}

.sub-content {
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #64748b;
}
.ourofficebox{
    margin-top:120px;
    margin-bottom: 50px;
}
.banner__description {
    font-family: Gotham;
    font-weight: 400;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
    color:#fff;
    padding-top: 30px;
}
.banner__title {
    font-family: Gotham;
    font-weight: 400;
    font-size: 62px;
    line-height: 100%;
    letter-spacing: -1;
    color:#fff;
}
.banner__info_section {
    width: 663px;
    height: 300px;
    angle: 0 deg;
    opacity: 1;
    top: 170.42px;
    left: 174px;
}
.bannerbox{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sectiontitle{
    font-family: Gotham;
    font-weight: 400;
    font-size: 48px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -1%;
    color: #114B5F;
}
.sectiondescription{
    font-family: Gotham;
    font-weight: 500;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
    color: #114B5F;
    padding-top: 20px;
}
.tab_title {
    gap: 10px;
    angle: 0 deg;
    opacity: 1;
    border-radius: 65px;
    border-width: 1px;
    padding: 12px 30px !important;
    border: 1px solid #54565A;
    color:#54565A;
    background: none;
    font-family: Gotham;
    font-weight: 400;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
}
.ui-tabs-active .tab_title {
    background: #114B5F;
    color : #fff;
}
#tabs .ui-tabs-nav {
    display: flex;        /* puts tabs in a row */
    flex-wrap: nowrap;    /* prevents wrapping to next line */
    gap: 4px;             /* optional spacing between tabs */
}

#tabs .ui-tabs-nav li {
    float: none !important;  /* remove default float */
    padding-right: 22px;
}

#tabs .ui-tabs-nav li a {
    white-space: nowrap;     /* keeps tab text on one line */
}
.location-card {
    background-color: #fff;
    padding: 20px;
    color:#114B5F;
    width: 100%;
}
.brandbox {
    background-color: #114B5F;
    width:25%;
    height: 20px;
    padding: 3px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brandbox img {
    height: 12px;
}

.subbrandbox {
    background-color: #114B5F;
    height: 60px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.subbrandbox img {
    height: 45px;
}

.location-title {
    color: #114B5F;
    margin-bottom: 10px;
    font-family: Gotham;
    font-weight: 400;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
}

.address {
    font-size: 14px;
    color: #1A1A1A;
    margin-bottom: 15px;
    padding-bottom: 15px;
    height: 100px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    font-family: Gotham;
    font-weight: 400;
    leading-trim: NONE;
    line-height: 125%;
    letter-spacing: 0;
}

.view-map-btn {
    background-color: #2980b9;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.view-map-btn:hover {
    background-color: #3498db;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #114B5F;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 15px;
    color: #114B5F !important;
    cursor: pointer;
    transition: 0.2s;
    font-family: Gotham;
    font-weight: 500;
    leading-trim: NONE;
    line-height: 125%;
    letter-spacing: 0;
}

/* Initially idle */
.arrow {
    display: inline-block;
    font-size: 18px;
    transition: transform 0.4s ease;
    color: #114B5F !important;
}
.arrow img{
    height: 14px;
    padding-left: 12px;
}
    /* Animate on hover */
.btn:hover .arrow {
    transform: translateX(4px) rotate(-45deg);
}
.list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    list-style: none;
    margin-left: 0px;
}
.locationlist li {
    border-left: 1px solid #114B5F !important;
    border-radius : 0px !important;
}
.list li {
    width: 29%;     /* your card width */
    padding: 5px;
    border-radius: 8px;
}

.childaccordion .list li {
    width: 32%;
}
.tabtitle{
    font-family: Gotham;
    font-weight: 400 !important;
    font-size: 34px !important;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    color: #54565A !important;
    background: none !important;
    border: none !important;
}
.tabsitems {
    border-bottom: 1px solid #114B5F;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    list-style: none;
    display: flex;
}
.ui-widget-header {
    border:none;
    background: none;
}

div#tabs ul li {
    border: none;
    background: none;
    margin-right: 0px;
}
.ui-widget-content{
    border-bottom: 2px solid red;
    border: none !important;
}
.ui-widget.ui-widget-content{
    border: none !important;
}
.subbrandlist{
    display: flex;
    padding-bottom: 20px;
    padding-top: 20px;
    list-style: none;
    margin-left: 0px;
}
.subbrandlist li {
    margin-right: 10px;
    background: #114B5F;
    padding:10px;
    display: flex;
    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center */
    border-radius: 10px;
}

/*.subbrandlist li img {*/

/*    max-width: 100%;*/
/*    height: auto;*/

/*}*/


.subbrandlist li a {
    display: block;
}

.ui-accordion .ui-accordion-content {
    padding:0px !important;
    margin-top:20px;
    transition: none !important;
}
.ui-accordion .ui-accordion-header{
    color: #114B5F !important;
    padding: 0px !important;
    font-family: Gotham;
    font-weight: 400;
    font-size: 40px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* custom up arrow */
/* Remove default jQuery UI icon */
.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    display: none;
}

.ui-accordion-header-active {
    border-bottom: none !important;
}
/* Header styling */
.tabtitle {
    cursor: pointer;
    display: inline-flex;      /* inline text + image */
    align-items: center;
    gap: 10px;                 /* 10px after text */
}

/* Custom arrow image */
.tabtitle::after {
    content: "";
    display: inline-block;
    width: 28px;   /* set your image width */
    height: 16px;  /* set your image height */
    background-image: url('../images/Vector.png'); /* replace with your image URL */
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    margin-left: 12px;
}

/* Rotate image when active */
.ui-accordion-header-active::after {
    transform: rotate(180deg);  /* arrow points down */
}

.tabsection {
    padding-top:20px !important;
}
.tabsection h3 {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin: 0;
    padding: 10px 0;
}

/* Remove top border from the first h3 */
.tabsection h3:first-of-type {
    border-top: none;
}

/* Remove bottom border from the last h3 */
.tabsection h3:last-of-type {
    border-bottom: none;
}

.acc-line {
    border: none;
    border-top: 1px solid #114B5F !important;
    margin: 10px 0;
}
.childaccordion  {
  padding-left: 100px;
}
.childaccordion list li {
    width: 28%;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #114B5F;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    display: none;
    cursor: pointer;
}

.address:hover .copy-btn {
    display: inline-block;
    background: #114B5F;
    color: #fff;
}

.copied-msg {
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 11px;
    color: green;
    display: none;
}

.subbrandlistbox{
    margin-top: 120px;
}

@media (max-width: 576px) {
    .list li {
        width: 100%;
    }
    #tabs .ui-tabs-nav{
        flex-direction: column;
    }

    .ourofficebox {
        margin-top: 40px;
    }
    .subbrandlistbox{
        margin-top: 40px;
    }
    .childaccordion .list li{
        width: 100%;
    }

    .tab-buttons{
        display: block;
    }
    .tab-buttons li {
        margin-bottom: 10px;
    }
    summary {
        font-size: 28px;
    }
    .acc-icon,.sub-acc-icon{
        width: 25px;
    }
    .sub-accordion{
        padding-left: 20px;
    }
    .banner__info_section {
        width: auto;
    }
    .banner__title {
        font-size: 40px;
        text-align: left;
    }
    .bannerbox{
        align-items: normal;
    }
    .banner--location {
        min-height: 500px;
    }
    .subbrandbox{
        padding: 5px;
    }
    .subbrandbox img {
        height:auto;
        width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 768px) {

    .list li {
        width: 40%;
    }
    .ourofficebox {
        margin-top: 40px;
    }
    .banner__info_section {
        width: auto;
    }
    .banner__title {
        font-size: 40px;
        text-align: left;
    }
    .sectiontitle{
        font-size: 34px;
    }
    .tab_title{
        gap: 10px;
        border-radius: 65px;
        padding-top: 15px !important;
        padding-right: 30px !important;
        padding-bottom: 15px !important;
        padding-left: 30px !important;
        border: 1px solid #54565A;
        font-size: 18px;
    }

    .tabtitle{
        font-size: 32px !important;
    }
    .location-title {

        font-size: 22px;
    }

    .btn {
        border-radius: 18px;
        font-size: 13px;
    }

    .subbrandlist li {
        margin-bottom: 5px;
        padding: 5px;
    }
    .subbrandbox{
        height: 60px;
    }
    .childaccordion {
        padding-left: 10px;
    }
    .subbrandlistbox{
        margin-top: 40px;
    }
    .subbrandbox img {
         height:auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ourofficebox {
        margin-top: 40px;
    }
    .subbrandlistbox{
        margin-top: 40px;
    }

    .tabtitle{
        font-size: 28px !important;
    }

    .location-title {
        font-size: 24px;
    }
    .sectiontitle{
        font-size: 34px;
    }
    .sectiondescription{
        font-size: 12px;
    }
    .banner__title{
        font-size: 48px;
    }
    .subbrandbox{
        padding: 20px;
        height: 40px;
    }
    .subbrandbox img{
        height: 30px;
    }
    .subbrandlist li{
        padding: 5px;
        border-radius: 5px;
    }
}