@import url('https://fonts.googleapis.com/css2?family=Figtree&display=swap');

html,
body {
    margin: 0;
    font-family: 'Figtree';
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-top: 4%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 20px;
}

.navbar .logo-left,
.navbar .logo-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
}

.logo-left {
    left: 20px;
}

.logo-right {
    right: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    position: relative;
    padding: 8px 16px;
    color: #12A44F;
    text-decoration: none;
    font-weight: 300;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a.active {
    background-color: #12A44F;
    color: white;
    border-color: #12A44F;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 50px;
}

.nav-links a:not(.active):hover {
    background-color: #e6f2e9;
    border-radius: 20px;
}

/* Hamburger menu icon */
.menu-icon {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon div {
    width: 100%;
    height: 3px;
    background-color: #12A44F;
    border-radius: 2px;
}

.header-title {
    width: 100%;
    text-align: center;
    color: #12A44F;
    font-size: 4em;
    letter-spacing: 3px;
    order: -1;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bolder;
}

#branchHero {
    width: 100%;
    height: 300px;
    background-image: url(../branches/hero-branches.svg);
    top: 0;
    position: relative;
    margin: 0;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#branchHero button {
    position: relative;
    text-align: center;
    width: auto;
    min-width: 150px;
    height: auto;
    background-color: #12A44F;
    border: none;
    border-radius: 50px;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    white-space: nowrap;
    margin-top: 300px;
    transition: 0.4s ease-in-out;
}

#branchHero button:hover {
    background-color: #07411B;
    cursor: pointer;
}

#branchHero .years {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-8%) scale(0.6);
    width: fit-content;
    height: fit-content;
}

#branchHero div {
    width: fit-content;
}

#branchAccordion {
    margin-bottom: 5%;
}
.container {
    max-width: 70%;
}

.accordion-header {
    color: #5a5a5a;
}

.accordion-button {
    background-color: #C8FFDC !important;
    color: #494949 !important;
    border: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    border-radius: 10px;
}

.accordion-button:not(.collapsed) {
    background-color: #88D1A1 !important;
    color: #494949 !important;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: #88D1A1;
}

.accordion-item {
    margin-bottom: 1%;
    border: none;
}
.row .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.33333%;
}

.branch-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 280px;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.branch-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.branch-content {
    padding: 1.25rem;
    text-align: center;
    background-color: #d4edda;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.branch-name {
    font-size: 1.7rem;
    font-weight: 600;
    color: #5a5a5a;
    margin-bottom: 0.75rem;
}

.view-btn {
    background-color: transparent;
    color: #12A44F;
    border: none;
    font-size: 1.3rem;
    /* text-decoration: underline; */
    cursor: pointer;
    padding: 0;
}

.view-btn:hover {
    color: #1e7e34;
}

/* Styles for GTLIC branches */
.branch-card.gtlic-card .branch-content {
    background-color: #f8d7da;
}

.view-btn.gtlic-btn {
    color: #FF1700;
}
.view-btn.gtlic-btn:hover {
    color: #8f1f1f;
}
.gtlic-details-content .fb-link {
    color: #FF1700;
}
.gtlic-details-content .fb-link:hover {
    color: #8f1f1f;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
}

.branch-details {
    background: white;
    border-radius: 16px;
    padding: 0;
    width: 60%;
    height: 88vh;
    overflow-y: auto;
    position: relative;
}

.details-header {
    background-color: white;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 16px 16px 0 0;
}

.company-logo {
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.company-logo img {
    width: 5%;
    margin-right: 10px;
}
.company-logo.gtlic-logo {
    color: #FF1700;
}

.branch-title {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.details-content {
    padding: 1.5rem;
}

.branch-photo {
    width: 48%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.map-container {
    width: 48%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    margin-left: 1rem;
}

.detail-icon {
    color: #12A44F;
    font-size: 1.2rem;
    width: 30px;
    margin-right: 1rem;
    margin-top: 2px;
}

.gtlic-details-content .detail-icon {
    color: #FF1700;
}

.detail-label {
    font-weight: 600;
    color: #5a5a5a;
    min-width: 120px;
    font-size: 1.1em;
}

.detail-value {
    color: #666;
    flex: 1;
    margin-left: 5%;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.fb-link {
    color: #28a745;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.fb-link:hover {
    color: #1e7e34;
}
.fb-link.gtlic-link {
    color: #d12e2e;
}
.fb-link.gtlic-link:hover {
    color: #8f1f1f;
}

.graphics {
    display: block;
    margin: 0 auto;
    margin-bottom: 5%;
}

#footer {
    background-image: url(../home/footer_bg.png);
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
    letter-spacing: 3px;
}

#footer h3 {
    font-size: 1.2em;
    font-weight: bold;
}

#footer p {
    font-size: 1em;
}

#footer a {
    text-decoration: none;
}

#footer button {
    position: relative;
    display: block;
    margin: 30px auto;
    padding: 12px 20px;
    background-color: white;
    color: #12A44F;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bolder;
    letter-spacing: 1px;
}

/* Responsive styles */
@media screen and (min-width: 900px) and (max-width: 1024px) {
    html, body {
        overflow-x: hidden;
        padding-top: 50px;
    }
    .logo-left, .logo-right {
        width: 12%;
    }
    .nav-links {
        gap: 10px;
    }

    .header-title {
        width: 100%;
        text-align: center;
        color: #12A44F;
        font-size: 4em;
        letter-spacing: 3px;
        order: -1;
        margin-top: 0;
        margin-bottom: 0;
        font-weight: bolder;
    }
    
    #branchHero {
        width: 100%;
        height: 230px;
        background-image: url(../branches/hero-branches.svg);
        top: 0;
        position: relative;
        margin: 0;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #branchHero button {
        position: relative;
        text-align: center;
        width: auto;
        min-width: 150px;
        height: auto;
        background-color: #12A44F;
        border: none;
        border-radius: 50px;
        color: white;
        padding: 10px 30px;
        font-size: 1.2em;
        white-space: nowrap;
        margin-top: 240px;
        transition: 0.4s ease-in-out;
    }
    
    #branchHero button:hover {
        background-color: #07411B;
        cursor: pointer;
    }
    
    #branchHero .years {
        position: absolute;
        right: -10%;
        top: 34%;
        transform: translateY(-8%) scale(0.5);
        width: fit-content;
        height: fit-content;
    }
    
    #branchHero div {
        width: fit-content;
    }
    
    #branchAccordion {
        margin-bottom: 5%;
    }
    .container {
        max-width: 70%;
    }
    
    .accordion-header {
        color: #5a5a5a;
    }
    
    .accordion-button {
        background-color: #C8FFDC !important;
        color: #494949 !important;
        border: none;
        font-weight: 600;
        padding: 1rem 1.5rem;
        font-size: 1.5rem;
        border-radius: 10px;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #88D1A1 !important;
        color: #494949 !important;
        box-shadow: none;
    }
    
    .accordion-button:focus {
        border-color: #88D1A1;
    }
    
    .accordion-item {
        margin-bottom: 1%;
        border: none;
    }
    .row .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.33333%;
    }
    
    .branch-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        height: 250px;
    }
    
    .branch-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    .branch-image {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .branch-content {
        padding: 1rem;
        text-align: center;
        background-color: #d4edda;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .branch-name {
        font-size: 1.2rem;
        font-weight: 600;
        color: #5a5a5a;
        margin-bottom: 0;
    }
    
    .view-btn {
        background-color: transparent;
        color: #12A44F;
        border: none;
        font-size: 1.1rem;
        /* text-decoration: underline; */
        cursor: pointer;
        padding: 0;
    }
    
    .view-btn:hover {
        color: #1e7e34;
    }
    
    /* Styles for GTLIC branches */
    .branch-card.gtlic-card .branch-content {
        background-color: #f8d7da;
    }
    
    .view-btn.gtlic-btn {
        color: #FF1700;
    }
    .view-btn.gtlic-btn:hover {
        color: #8f1f1f;
    }
    .gtlic-details-content .fb-link {
        color: #FF1700;
    }
    .gtlic-details-content .fb-link:hover {
        color: #8f1f1f;
    }
    

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 10;
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .branch-details {
        background: white;
        border-radius: 16px;
        padding: 0;
        width: 70%;
        height: 85vh;
        overflow-y: auto;
        position: relative;
        top: 5%;
    }
    
    .details-header {
        background-color: white;
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 10;
        border-radius: 16px 16px 0 0;
    }
    
    .company-logo {
        color: #28a745;
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }
    .company-logo img {
        width: 5%;
        margin-right: 10px;
    }
    .company-logo.gtlic-logo {
        color: #FF1700;
    }
    
    .branch-title {
        color: #666;
        font-size: 1.1rem;
        margin: 0;
    }
    
    .details-content {
        padding: 1.5rem;
    }
    
    .branch-photo {
        width: 48%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .map-container {
        width: 48%;
        height: 200px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .detail-item {
        display: flex;
        align-items: flex-start;
        padding: 0.3rem 0;
        margin-left: 1rem;
    }
    
    .detail-icon {
        color: #12A44F;
        font-size: 1.2rem;
        width: 30px;
        margin-right: 1rem;
        margin-top: 2px;
    }
    
    .gtlic-details-content .detail-icon {
        color: #FF1700;
    }
    
    .detail-label {
        font-weight: 600;
        color: #5a5a5a;
        min-width: 120px;
        font-size: 1.1em;
    }
    
    .detail-value {
        color: #666;
        flex: 1;
        margin-left: 5%;
    }
    
    .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #999;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .close-btn:hover {
        color: #333;
    }
    
    .fb-link {
        color: #28a745;
        text-decoration: none;
    }
    
    .fb-link:hover {
        color: #1e7e34;
    }
    .fb-link.gtlic-link {
        color: #d12e2e;
    }
    .fb-link.gtlic-link:hover {
        color: #8f1f1f;
    }
    
    .graphics {
        display: block;
        margin: 0 auto;
        margin-bottom: 5%;
        width: 70%;
    }

}

@media screen and (min-width: 500px) and (max-width: 900px) {
    html, body {
        overflow-x: hidden;
        padding-top: 50px;
    }
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        ;
        height: 60px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 0 15px;
    }

    .navbar .logo-left {
        position: static;
        left: auto;
        transform: none;
        height: 40px;
        width: auto;
        order: 1;
        margin-right: 10px;
    }

    .navbar .logo-right {
        position: static;
        right: auto;
        transform: none;
        height: 40px;
        width: auto;
        order: 2;
        margin-right: auto;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: none;
        border-radius: 0;
        gap: 0;
        z-index: 999;
        order: 4;
        box-sizing: border-box;
    }

    .nav-links.show {
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 20px;
        width: calc(100% - 40px);
        max-width: 100%;
        text-align: center;
        border-radius: 0;
        font-weight: 500;
        font-size: 18px;
        color: #12A44F;
        background: none;
        display: block;
        margin: 5px 20px;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links a.active {
        background-color: #12A44F;
        color: white;
        border-radius: 25px;
        font-weight: 600;
        padding-bottom: 25px;
    }

    .nav-links a:not(.active):hover {
        background-color: #e6f2e9;
        border-radius: 25px;
    }

    .menu-icon {
        display: flex;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        flex-shrink: 0;
        order: 3;
        background-color: transparent;
        justify-content: center;
        align-items: center;
        top: 1.5vh;
    }

    .menu-icon span,
    .menu-icon::before,
    .menu-icon::after {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #12A44F;
        border-radius: 1px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .menu-icon::before,
    .menu-icon::after {
        content: '';
    }

    .menu-icon::before {
        top: 0;
    }

    .menu-icon span {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-icon::after {
        bottom: 0;
    }

    .menu-icon.active span {
        opacity: 0;
    }

    .menu-icon.active::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-icon.active::after {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    #branchHero {
        width: 100%;
        height: 190px;
        background-image: url(../branches/hero-branches.svg);
        top: 0;
        position: relative;
        margin: 0;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #branchHero button {
        position: relative;
        text-align: center;
        width: auto;
        min-width: 150px;
        height: auto;
        background-color: #12A44F;
        border: none;
        border-radius: 50px;
        color: white;
        padding: 5px 5px;
        font-size: 1em;
        white-space: nowrap;
        margin-top: 120%;
        transition: 0.4s ease-in-out;
    }
    
    #branchHero button:hover {
        background-color: #07411B;
        cursor: pointer;
    }
    
    #branchHero .years {
        position: absolute;
        right: -8px;
        top: 54%;
        transform: translateY(-8%) scale(0.6);
        width: 35%;
        height: auto;
    }
    
    .branch-details {
        background: white;
        border-radius: 16px;
        padding: 0;
        width: 70%;
        height: 85vh;
        overflow-y: auto;
        position: relative;
    }

    .branch-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        height: 300px;
    }
    
    .branch-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    .branch-image {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .branch-content {
        padding: 1.25rem;
        text-align: center;
        background-color: #d4edda;
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .branch-name {
        font-size: 1.5rem;
        font-weight: 600;
        color: #5a5a5a;
        margin-bottom: 0.1rem;
    }
    
    .view-btn {
        background-color: transparent;
        color: #12A44F;
        border: none;
        font-size: 1.3rem;
        cursor: pointer;
        padding: 0;
    }
    
    .view-btn:hover {
        color: #1e7e34;
    }
    
    .branch-card.gtlic-card .branch-content {
        background-color: #f8d7da;
    }
    
    .view-btn.gtlic-btn {
        color: #FF1700;
    }
    .view-btn.gtlic-btn:hover {
        color: #8f1f1f;
    }
    .gtlic-details-content .fb-link {
        color: #FF1700;
    }
    .gtlic-details-content .fb-link:hover {
        color: #8f1f1f;
    }

    .row .col-md-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1050;
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .details-header {
        background-color: white;
        padding: 1.5rem;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 10;
        border-radius: 16px 16px 0 0;
    }
    
    .company-logo {
        color: #12A44F;
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }
    .company-logo img {
        width: 6%;
        margin-right: 5px;
    }
    .company-logo.gtlic-logo {
        color: #FF1700;
    }
    
    .branch-title {
        color: #666;
        font-size: 1.1rem;
        margin: 0;
    }
    
    .details-content {
        padding: 1.5rem;
    }
    
    .branch-photo {
        width: 48%;
        height: 250px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .map-container {
        width: 48%;
        height: 250px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .detail-item {
        display: flex;
        align-items: flex-start;
        padding: 0.5rem 0;
        margin-left: 1rem;
    }
    
    .detail-icon {
        color: #12A44F;
        font-size: 1.2rem;
        width: 30px;
        margin-right: 1rem;
        margin-top: 2px;
    }
    
    .gtlic-details-content .detail-icon {
        color: #FF1700;
    }
    
    .detail-label {
        font-weight: 600;
        color: #5a5a5a;
        min-width: 120px;
        font-size: 1.1em;
    }
    
    .detail-value {
        color: #666;
        flex: 1;
        margin-left: 5%;
    }
    
    .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #999;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .close-btn:hover {
        color: #333;
    }
    
    .fb-link {
        color: #28a745;
        text-decoration: none;
    }
    
    .fb-link:hover {
        color: #1e7e34;
    }
    .fb-link.gtlic-link {
        color: #d12e2e;
    }
    .fb-link.gtlic-link:hover {
        color: #8f1f1f;
    }
    
    .graphics {
        display: block;
        margin: 0 auto;
        margin-bottom: 5%;
        width: 80%;
    }
    #footer {
        letter-spacing: 1px;
    }
    #footer button {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 376px) and (max-width: 500px) {
    html, body {
        overflow-x: hidden;
        padding-top: 50px;
    }
    
    /* Navigation styles */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 0 15px;
    }

    .navbar .logo-left {
        position: static;
        left: auto;
        transform: none;
        height: 30px;
        width: auto;
        order: 1;
        margin-right: 10px;
    }

    .navbar .logo-right {
        position: static;
        right: auto;
        transform: none;
        height: 30px;
        width: auto;
        order: 2;
        margin-right: auto;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: none;
        border-radius: 0;
        gap: 0;
        z-index: 999;
        order: 4;
        box-sizing: border-box;
    }

    .nav-links.show {
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 20px;
        width: calc(100% - 40px);
        max-width: 100%;
        text-align: center;
        border-radius: 0;
        font-weight: 500;
        font-size: 18px;
        color: #12A44F;
        background: none;
        display: block;
        margin: 5px 20px;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links a.active {
        background-color: #12A44F;
        color: white;
        border-radius: 25px;
        font-weight: 600;
        padding-bottom: 25px;
    }

    .nav-links a:not(.active):hover {
        background-color: #e6f2e9;
        border-radius: 25px;
    }

    .menu-icon {
        display: flex;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        flex-shrink: 0;
        order: 3;
        background-color: transparent;
        justify-content: center;
        align-items: center;
        top: 1.5vh;
    }

    .menu-icon span,
    .menu-icon::before,
    .menu-icon::after {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #12A44F;
        border-radius: 1px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .menu-icon::before,
    .menu-icon::after {
        content: '';
    }

    .menu-icon::before {
        top: 0;
    }

    .menu-icon span {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-icon::after {
        bottom: 0;
    }

    .menu-icon.active span {
        opacity: 0;
    }

    .menu-icon.active::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-icon.active::after {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
    
    /* Header title */
    .header-title {
        width: 100%;
        text-align: center;
        color: #12A44F;
        font-size: 3em;
        letter-spacing: 3px;
        order: -1;
        margin-top: 0;
        margin-bottom: 0;
        font-weight: bolder;
    }

    /* Hero section */
    #branchHero {
        width: 100%;
        height: 100px;
        background-image: url(../branches/hero-branches.svg);
        top: 0;
        position: relative;
        margin: 0;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #branchHero button {
        position: relative;
        text-align: center;
        width: auto;
        min-width: 150px;
        height: auto;
        background-color: #12A44F;
        border: none;
        border-radius: 50px;
        color: white;
        padding: 5px 5px;
        font-size: 1em;
        white-space: nowrap;
        margin-top: 60%;
        transition: 0.4s ease-in-out;
    }
    
    #branchHero button:hover {
        background-color: #07411B;
        cursor: pointer;
    }
    
    #branchHero .years {
        position: absolute;
        right: -8px;
        top: 54%;
        transform: translateY(-8%) scale(0.6);
        width: 35%;
        height: auto;
    }
    
    /* Container and accordion */
    .container {
        max-width: 70%;
    }
    
    .accordion-header {
        color: #5a5a5a;
    }
    
    .accordion-button {
        background-color: #C8FFDC !important;
        color: #494949 !important;
        border: none;
        font-weight: 600;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #88D1A1 !important;
        color: #494949 !important;
        box-shadow: none;
    }
    
    .accordion-button:focus {
        border-color: #88D1A1;
    }
    
    .accordion-item {
        margin-bottom: 1%;
        border: none;
    }

    /* Branch cards grid */
    .row .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .branch-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        height: 200px;
    }
    
    .branch-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    .branch-image {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }
    
    .branch-content {
        text-align: center;
        background-color: #d4edda;
        height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .branch-name {
        font-size: 1rem;
        font-weight: 600;
        color: #5a5a5a;
        margin-bottom: 0;
    }
    
    .view-btn {
        background-color: transparent;
        color: #12A44F;
        border: none;
        font-size: 1rem;
        cursor: pointer;
        padding: 0;
        font-weight: 500;
    }
    
    .view-btn:hover {
        color: #1e7e34;
    }
    
    /* GTLIC specific styles */
    .branch-card.gtlic-card .branch-content {
        background-color: #f8d7da;
    }
    
    .view-btn.gtlic-btn {
        color: #FF1700;
    }
    .view-btn.gtlic-btn:hover {
        color: #8f1f1f;
    }
    .gtlic-details-content .fb-link {
        color: #FF1700;
    }
    .gtlic-details-content .fb-link:hover {
        color: #8f1f1f;
    }
    
    /* Overlay and modal */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1050;
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .branch-details {
        background: white;
        border-radius: 16px;
        padding: 0;
        width: 95%;
        height: 72vh;
        overflow-y: auto;
        position: relative;
        margin: 0 auto;
    }
    
    .details-header {
        background-color: white;
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 10;
        border-radius: 16px 16px 0 0;
    }
    
    .company-logo {
        color: #12A44F;
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .company-logo img {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .company-logo.gtlic-logo {
        color: #FF1700;
    }
    
    .branch-title {
        color: #666;
        font-size: 0.9rem;
        margin: 0;
        font-weight: 500;
    }
    
    .details-content {
        padding: 1rem;
    }
    
    /* Image and map container */
    .image-map-container {
        display: flex;
        gap: 8px;
        margin-bottom: 1.5rem;
        height: 180px;
    }
    
    .branch-photo {
        width: 50%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    .map-container {
        width: 50%;
        height: 180px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
    }
    
    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
    
    /* Contact details section */
    .contact-details {
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .detail-item {
        display: flex;
        align-items: flex-start;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e9ecef;
        margin: 0;
    }
    
    .detail-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .detail-item:first-child {
        padding-top: 0;
    }
    
    .detail-icon {
        color: #12A44F;
        font-size: 1rem;
        width: 25px;
        margin-right: 0rem;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .gtlic-details-content .detail-icon {
        color: #FF1700;
    }
    
    .detail-content {
        flex: 1;
    }
    
    .detail-label {
        font-weight: 600;
        color: #333;
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .detail-value {
        color: #666;
        font-size: 0.8rem;
        margin: 0;
    }
    
    .detail-value a {
        color: inherit;
        text-decoration: none;
    }
    
    .detail-value a:hover {
        text-decoration: underline;
    }
    
    /* Facebook link styling */
    .fb-link {
        color: #12A44F !important;
        text-decoration: none;
        font-weight: 500;
    }
    
    .fb-link:hover {
        color: #0d7935 !important;
        text-decoration: underline;
    }
    
    .gtlic-details-content .fb-link {
        color: #FF1700 !important;
    }
    
    .gtlic-details-content .fb-link:hover {
        color: #cc1400 !important;
    }
    
    
    /* Address specific styling */
    .detail-item.address-item .detail-value {
        line-height: 1.3;
    }
    
    /* Contact number styling */
    .detail-item.contact-item .detail-value {
        font-family: monospace;
        font-size: 0.9rem;
    }
    
    /* Office hours styling */
    .detail-item.hours-item .detail-value {
        font-weight: 500;
    }
    
    /* Graphics */
    .graphics {
        display: block;
        margin: 0 auto;
        margin-bottom: 5%;
        width: 80%;
    }

    #footer {
        background-image: url(../home/footer_bg.png);
        color: #ffffff;
        padding-top: 20px;
        padding-bottom: 10px;
        text-align: center;
    }
    
    #footer h3 {
        font-size: 0.8em;
        font-weight: bold;
    }
    
    #footer p {
        font-size: 0.7em;
    }
    
    #footer a {
        text-decoration: none;
    }
    
    #footer button {
        position: relative;
        display: block;
        margin: 10px auto;
        padding: 12px 20px;
        background-color: white;
        color: #12A44F;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.5em;
        font-weight: bolder;
    }
}
@media screen and (min-width: 321px) and (max-width: 376px) {
    html, body {
        overflow-x: hidden;
        padding-top: 50px;
    }
    
    /* Navigation styles */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 0 15px;
    }

    .navbar .logo-left {
        position: static;
        left: auto;
        transform: none;
        height: 25px;
        width: auto;
        order: 1;
        margin-right: 10px;
    }

    .navbar .logo-right {
        position: static;
        right: auto;
        transform: none;
        height: 25px;
        width: auto;
        order: 2;
        margin-right: auto;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: none;
        border-radius: 0;
        gap: 0;
        z-index: 999;
        order: 4;
        box-sizing: border-box;
    }

    .nav-links.show {
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 20px;
        width: calc(100% - 40px);
        max-width: 100%;
        text-align: center;
        border-radius: 0;
        font-weight: 500;
        font-size: 18px;
        color: #12A44F;
        background: none;
        display: block;
        margin: 5px 20px;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links a.active {
        background-color: #12A44F;
        color: white;
        border-radius: 25px;
        font-weight: 600;
        padding-bottom: 25px;
    }

    .nav-links a:not(.active):hover {
        background-color: #e6f2e9;
        border-radius: 25px;
    }

    .menu-icon {
        display: flex;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        flex-shrink: 0;
        order: 3;
        background-color: transparent;
        justify-content: center;
        align-items: center;
        top: 1.5vh;
    }

    .menu-icon span,
    .menu-icon::before,
    .menu-icon::after {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #12A44F;
        border-radius: 1px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .menu-icon::before,
    .menu-icon::after {
        content: '';
    }

    .menu-icon::before {
        top: 0;
    }

    .menu-icon span {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-icon::after {
        bottom: 0;
    }

    .menu-icon.active span {
        opacity: 0;
    }

    .menu-icon.active::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-icon.active::after {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
    
    /* Header title */
    .header-title {
        width: 100%;
        text-align: center;
        color: #12A44F;
        font-size: 3em;
        letter-spacing: 3px;
        order: -1;
        margin-top: 0;
        margin-bottom: 0;
        font-weight: bolder;
    }

    /* Hero section */
    #branchHero {
        width: 100%;
        height: 10vh;
        background-image: url(../branches/hero-branches.svg);
        top: 0;
        position: relative;
        margin: 0;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #branchHero button {
        position: relative;
        text-align: center;
        width: auto;
        min-width: 150px;
        height: auto;
        background-color: #12A44F;
        border: none;
        border-radius: 50px;
        color: white;
        padding: 5px 5px;
        font-size: 1em;
        white-space: nowrap;
        margin-top: 60%;
        transition: 0.4s ease-in-out;
    }
    
    #branchHero button:hover {
        background-color: #07411B;
        cursor: pointer;
    }
    
    #branchHero .years {
        position: absolute;
        right: -8px;
        top: 54%;
        transform: translateY(-8%) scale(0.6);
        width: 35%;
        height: auto;
    }
    
    /* Container and accordion */
    .container {
        max-width: 70%;
    }
    
    .accordion-header {
        color: #5a5a5a;
    }
    
    .accordion-button {
        background-color: #C8FFDC !important;
        color: #494949 !important;
        border: none;
        font-weight: 600;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #88D1A1 !important;
        color: #494949 !important;
        box-shadow: none;
    }
    
    .accordion-button:focus {
        border-color: #88D1A1;
    }
    
    .accordion-item {
        margin-bottom: 1%;
        border: none;
    }

    /* Branch cards grid */
    .row .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .branch-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        height: 200px;
    }
    
    .branch-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    .branch-image {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }
    
    .branch-content {
        text-align: center;
        background-color: #d4edda;
        height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .branch-name {
        font-size: 1rem;
        font-weight: 600;
        color: #5a5a5a;
        margin-bottom: 0;
    }
    
    .view-btn {
        background-color: transparent;
        color: #12A44F;
        border: none;
        font-size: 1rem;
        cursor: pointer;
        padding: 0;
        font-weight: 500;
    }
    
    .view-btn:hover {
        color: #1e7e34;
    }
    
    /* GTLIC specific styles */
    .branch-card.gtlic-card .branch-content {
        background-color: #f8d7da;
    }
    
    .view-btn.gtlic-btn {
        color: #FF1700;
    }
    .view-btn.gtlic-btn:hover {
        color: #8f1f1f;
    }
    .gtlic-details-content .fb-link {
        color: #FF1700;
    }
    .gtlic-details-content .fb-link:hover {
        color: #8f1f1f;
    }
    
    /* Overlay and modal */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1050;
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .branch-details {
        background: white;
        border-radius: 16px;
        padding: 0;
        width: 95%;
        height: 75vh;
        overflow-y: auto;
        position: relative;
        margin: 0 auto;
    }
    
    .details-header {
        background-color: white;
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 10;
        border-radius: 16px 16px 0 0;
    }
    
    .company-logo {
        color: #12A44F;
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .company-logo img {
        width: 30px;
        height: 30px;
        margin-right: 0px;
    }
    
    .company-logo.gtlic-logo {
        color: #FF1700;
    }
    
    .branch-title {
        color: #666;
        font-size: 0.9rem;
        margin: 0;
        font-weight: 500;
    }
    
    .details-content {
        padding: 1rem;
    }
    
    /* Image and map container */
    .image-map-container {
        display: flex;
        gap: 8px;
        margin-bottom: 1.5rem;
        height: 180px;
    }
    
    .branch-photo {
        width: 50%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    .map-container {
        width: 50%;
        height: 180px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
    }
    
    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
    
    /* Contact details section */
    .contact-details {
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .detail-item {
        display: flex;
        align-items: flex-start;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e9ecef;
        margin: 0;
    }
    
    .detail-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .detail-item:first-child {
        padding-top: 0;
    }
    
    .detail-icon {
        color: #12A44F;
        font-size: 1rem;
        width: 25px;
        margin-right: 0rem;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .gtlic-details-content .detail-icon {
        color: #FF1700;
    }
    
    .detail-content {
        flex: 1;
    }
    
    .detail-label {
        font-weight: 600;
        color: #333;
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .detail-value {
        color: #666;
        font-size: 0.8rem;
        margin: 0;
    }
    
    .detail-value a {
        color: inherit;
        text-decoration: none;
        font-size: 0.65rem;
    }
    
    .detail-value a:hover {
        text-decoration: underline;
    }
    
    /* Facebook link styling */
    .fb-link {
        color: #12A44F !important;
        text-decoration: none;
        font-weight: 500;
    }
    
    .fb-link:hover {
        color: #0d7935 !important;
        text-decoration: underline;
    }
    
    .gtlic-details-content .fb-link {
        color: #FF1700 !important;
    }
    
    .gtlic-details-content .fb-link:hover {
        color: #cc1400 !important;
    }
    
    
    /* Address specific styling */
    .detail-item.address-item .detail-value {
        line-height: 1.3;
    }
    
    /* Contact number styling */
    .detail-item.contact-item .detail-value {
        font-family: monospace;
        font-size: 0.9rem;
    }
    
    /* Office hours styling */
    .detail-item.hours-item .detail-value {
        font-weight: 500;
    }
    
    /* Graphics */
    .graphics {
        display: block;
        margin: 0 auto;
        margin-bottom: 5%;
        width: 80%;
    }

    #footer {
        background-image: url(../home/footer_bg.png);
        color: #ffffff;
        padding-top: 20px;
        padding-bottom: 10px;
        text-align: center;
    }
    
    #footer h3 {
        font-size: 0.8em;
        font-weight: bold;
    }
    
    #footer p {
        font-size: 0.7em;
    }
    
    #footer a {
        text-decoration: none;
    }
    
    #footer button {
        position: relative;
        display: block;
        margin: 10px auto;
        padding: 12px 20px;
        background-color: white;
        color: #12A44F;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.5em;
        font-weight: bolder;
    }
}

@media screen and (max-width: 320px) {
    html, body {
        overflow-x: hidden;
        padding-top: 50px;
    }
    
    /* Navigation styles */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 0 15px;
    }

    .navbar .logo-left {
        position: static;
        left: auto;
        transform: none;
        height: 25px;
        width: auto;
        order: 1;
        margin-right: 10px;
    }

    .navbar .logo-right {
        position: static;
        right: auto;
        transform: none;
        height: 25px;
        width: auto;
        order: 2;
        margin-right: auto;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: none;
        border-radius: 0;
        gap: 0;
        z-index: 999;
        order: 4;
        box-sizing: border-box;
    }

    .nav-links.show {
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 20px;
        width: calc(100% - 40px);
        max-width: 100%;
        text-align: center;
        border-radius: 0;
        font-weight: 500;
        font-size: 18px;
        color: #12A44F;
        background: none;
        display: block;
        margin: 5px 20px;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links a.active {
        background-color: #12A44F;
        color: white;
        border-radius: 25px;
        font-weight: 600;
        padding-bottom: 25px;
    }

    .nav-links a:not(.active):hover {
        background-color: #e6f2e9;
        border-radius: 25px;
    }

    .menu-icon {
        display: flex;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        flex-shrink: 0;
        order: 3;
        background-color: transparent;
        justify-content: center;
        align-items: center;
        top: 1.5vh;
    }

    .menu-icon span,
    .menu-icon::before,
    .menu-icon::after {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #12A44F;
        border-radius: 1px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .menu-icon::before,
    .menu-icon::after {
        content: '';
    }

    .menu-icon::before {
        top: 0;
    }

    .menu-icon span {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-icon::after {
        bottom: 0;
    }

    .menu-icon.active span {
        opacity: 0;
    }

    .menu-icon.active::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-icon.active::after {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
    
    /* Header title */
    .header-title {
        width: 100%;
        text-align: center;
        color: #12A44F;
        font-size: 3em;
        letter-spacing: 3px;
        order: -1;
        margin-top: 0;
        margin-bottom: 0;
        font-weight: bolder;
    }

    /* Hero section */
    #branchHero {
        width: 100%;
        height: 8vh;
        background-image: url(../branches/hero-branches.svg);
        top: 0;
        position: relative;
        margin: 0;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #branchHero button {
        position: relative;
        text-align: center;
        width: auto;
        min-width: 150px;
        height: auto;
        background-color: #12A44F;
        border: none;
        border-radius: 50px;
        color: white;
        padding: 1px 0;
        font-size: 0.8em;
        white-space: nowrap;
        margin-top: 50%;
        transition: 0.4s ease-in-out;
    }
    
    #branchHero button:hover {
        background-color: #07411B;
        cursor: pointer;
    }
    
    #branchHero .years {
        position: absolute;
        right: -8px;
        top: 54%;
        transform: translateY(-8%) scale(0.6);
        width: 35%;
        height: auto;
    }
    
    /* Container and accordion */
    .container {
        max-width: 70%;
    }
    
    .accordion-header {
        color: #5a5a5a;
    }
    
    .accordion-button {
        background-color: #C8FFDC !important;
        color: #494949 !important;
        border: none;
        font-weight: 600;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #88D1A1 !important;
        color: #494949 !important;
        box-shadow: none;
    }
    
    .accordion-button:focus {
        border-color: #88D1A1;
    }
    
    .accordion-item {
        margin-bottom: 1%;
        border: none;
    }

    /* Branch cards grid */
    .row .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .branch-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        height: 200px;
    }
    
    .branch-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    .branch-image {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }
    
    .branch-content {
        text-align: center;
        background-color: #d4edda;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .branch-name {
        font-size: 0.9rem;
        font-weight: 600;
        color: #5a5a5a;
        margin-bottom: 0;
    }
    
    .view-btn {
        background-color: transparent;
        color: #12A44F;
        border: none;
        font-size: 0.8rem;
        cursor: pointer;
        padding: 0;
        font-weight: 500;
    }
    
    .view-btn:hover {
        color: #1e7e34;
    }
    
    /* GTLIC specific styles */
    .branch-card.gtlic-card .branch-content {
        background-color: #f8d7da;
    }
    
    .view-btn.gtlic-btn {
        color: #FF1700;
    }
    .view-btn.gtlic-btn:hover {
        color: #8f1f1f;
    }
    .gtlic-details-content .fb-link {
        color: #FF1700;
    }
    .gtlic-details-content .fb-link:hover {
        color: #8f1f1f;
    }
    
    /* Overlay and modal */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1050;
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .branch-details {
        background: white;
        border-radius: 16px;
        padding: 0;
        width: 95%;
        height: 80vh;
        overflow-y: auto;
        position: relative;
        margin: 0 auto;
    }
    
    .details-header {
        background-color: white;
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 10;
        border-radius: 16px 16px 0 0;
    }
    
    .company-logo {
        color: #12A44F;
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .company-logo img {
        width: 30px;
        height: 30px;
        margin-right: 0px;
    }
    
    .company-logo.gtlic-logo {
        color: #FF1700;
    }
    
    .branch-title {
        color: #666;
        font-size: 0.9rem;
        margin: 0;
        font-weight: 500;
    }
    
    .details-content {
        padding: 1rem;
    }
    
    /* Image and map container */
    .image-map-container {
        display: flex;
        gap: 8px;
        margin-bottom: 1.5rem;
        height: 180px;
    }
    
    .branch-photo {
        width: 50%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    .map-container {
        width: 50%;
        height: 180px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
    }
    
    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
    
    /* Contact details section */
    .contact-details {
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .detail-item {
        display: flex;
        align-items: flex-start;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e9ecef;
        margin: 0;
    }
    
    .detail-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .detail-item:first-child {
        padding-top: 0;
    }
    
    .detail-icon {
        color: #12A44F;
        font-size: 1rem;
        width: 25px;
        margin-right: 0rem;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .gtlic-details-content .detail-icon {
        color: #FF1700;
    }
    
    .detail-content {
        flex: 1;
    }
    
    .detail-label {
        font-weight: 600;
        color: #333;
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .detail-value {
        color: #5a5a5a;
        font-size: 0.8rem;
        margin: 0;
    }
    
    .detail-value a {
        color: inherit;
        text-decoration: none;
        font-size: 0.65rem;
    }
    
    .detail-value a:hover {
        text-decoration: underline;
    }
    
    /* Facebook link styling */
    .fb-link {
        color: #12A44F !important;
        text-decoration: none;
        font-weight: 500;
    }
    
    .fb-link:hover {
        color: #0d7935 !important;
        text-decoration: underline;
    }
    
    .gtlic-details-content .fb-link {
        color: #FF1700 !important;
    }
    
    .gtlic-details-content .fb-link:hover {
        color: #cc1400 !important;
    }
    
    
    /* Address specific styling */
    .detail-item.address-item .detail-value {
        line-height: 1.3;
    }
    
    /* Contact number styling */
    .detail-item.contact-item .detail-value {
        font-family: monospace;
        font-size: 0.9rem;
    }
    
    /* Office hours styling */
    .detail-item.hours-item .detail-value {
        font-weight: 500;
    }
    
    /* Graphics */
    .graphics {
        display: block;
        margin: 0 auto;
        margin-bottom: 5%;
        width: 80%;
    }

    #footer {
        background-image: url(../home/footer_bg.png);
        color: #ffffff;
        padding-top: 20px;
        padding-bottom: 10px;
        text-align: center;
    }
    
    #footer h3 {
        font-size: 0.8em;
        font-weight: bold;
    }
    
    #footer p {
        font-size: 0.7em;
    }
    
    #footer a {
        text-decoration: none;
    }
    
    #footer button {
        position: relative;
        display: block;
        margin: 10px auto;
        padding: 12px 20px;
        background-color: white;
        color: #12A44F;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.5em;
        font-weight: bolder;
    }
}