.twr-modern-home-header-section {
    width: 100%;
    background: #f3f3f3;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 999;
}

.twr-modern-home-header-section .twr-modern-home-navbar {
    padding: 0;
    min-height: 88px;
}

.twr-modern-home-header-section .twr-modern-home-header-inner {
    width: 100%;
    min-height: 88px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.twr-modern-home-header-section .twr-modern-home-brand {
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    position: relative;
    z-index: 3;
}

.twr-modern-home-header-section .twr-modern-home-brand-logo {
    height: 48px;
    width: auto;
    display: block;
}

.twr-modern-home-header-section .twr-modern-home-navbar-collapse {
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}

.twr-modern-home-header-section .twr-modern-home-navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link {
    position: relative;
    color: #202124;
    font-size: 16px;
    font-weight: 500;
    padding: 30px 14px !important;
    transition: all 0.3s ease;
}

.twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link:hover,
.twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link:focus,
.twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link.active {
    color: #25357f;
}

.twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 22px;
    width: calc(100% - 28px);
    height: 2px;
    background: linear-gradient(90deg, #eb4d43 0%, #25357f 100%);
    border-radius: 20px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link:hover::after,
.twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.twr-modern-home-header-section .twr-modern-home-dropdown .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
}

.twr-modern-home-header-section .twr-modern-home-dropdown-menu {
    min-width: 240px;
    border: 1px solid rgba(37, 53, 127, 0.12);
    border-radius: 16px;
    padding: 10px;
    margin-top: 0;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(37, 53, 127, 0.10);
}

.twr-modern-home-header-section .twr-modern-home-dropdown-menu .dropdown-item {
    padding: 12px 14px;
    border-radius: 12px;
    color: #202124;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.twr-modern-home-header-section .twr-modern-home-dropdown-menu .dropdown-item:hover,
.twr-modern-home-header-section .twr-modern-home-dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(235, 77, 67, 0.10) 0%, rgba(37, 53, 127, 0.08) 100%);
    color: #25357f;
    transform: translateX(4px);
}

.twr-modern-home-header-section .twr-modern-home-header-btn-wrap {
    flex: 0 0 auto;
    margin-left: auto;
}

.twr-modern-home-header-section .twr-modern-home-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 14px 28px;
    background: #25357f;
    color: #ffffff;
    border: 1px solid #25357f;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.twr-modern-home-header-section .twr-modern-home-contact-btn:hover {
    background: #eb4d43;
    border-color: #eb4d43;
    color: #ffffff;
}

.twr-modern-home-header-section .twr-modern-home-navbar-toggler {
    border: 0;
    padding: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 53, 127, 0.12);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.twr-modern-home-header-section .twr-modern-home-navbar-toggler:focus {
    box-shadow: none;
}

.twr-modern-home-header-section .twr-modern-home-toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #25357f;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* desktop */
@media (min-width: 992px) {
    .twr-modern-home-header-section .navbar-expand-lg .twr-modern-home-navbar-collapse {
        display: flex !important;
    }

    .twr-modern-home-header-section .twr-modern-home-dropdown {
        position: relative;
    }

    .twr-modern-home-header-section .twr-modern-home-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
    }

    .twr-modern-home-header-section .twr-modern-home-dropdown-menu.show {
        display: block;
    }
    
    .custom-animate-dropdown .dropdown-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
}
}

/* tablet */
@media (max-width: 1199.98px) {
    .twr-modern-home-header-section .twr-modern-home-header-inner {
        padding: 0 32px;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 15px;
    }
}

/* mobile */
@media (max-width: 991.98px) {
    .twr-modern-home-header-section .twr-modern-home-header-inner {
        padding: 16px 20px;
        min-height: auto;
        flex-wrap: wrap;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-toggler {
        display: inline-flex;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-collapse {
        width: 100%;
        flex-basis: 100%;
        margin-top: 14px;
        background: #ffffff;
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        padding: 16px;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-collapse:not(.show) {
        display: none !important;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-collapse.show {
        display: block !important;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-nav {
        width: 100%;
        align-items: flex-start;
        gap: 2px;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-item {
        width: 100%;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link {
        width: 100%;
        padding: 12px 10px !important;
    }

    .twr-modern-home-header-section .twr-modern-home-navbar-nav .nav-link::after {
        left: 10px;
        bottom: 4px;
        width: calc(100% - 20px);
    }

    .twr-modern-home-header-section .twr-modern-home-dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border: 1px solid rgba(37, 53, 127, 0.08);
        margin-top: 8px;
    }

    .twr-modern-home-header-section .twr-modern-home-header-btn-wrap {
        width: 100%;
        margin-top: 12px;
    }

    .twr-modern-home-header-section .twr-modern-home-contact-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .twr-modern-home-header-section .twr-modern-home-header-inner {
        padding: 14px 16px;
    }

    .twr-modern-home-header-section .twr-modern-home-brand-logo {
        height: 42px;
    }
}




/***********footer******************/
.twr-modern-home-footer-section {
    width: 100%;
    background: #f3f3f3;
    padding: 62px 0 22px;
    overflow: hidden;
}

.twr-modern-home-footer-section .twr-modern-home-footer-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-left {
    width: 50%;
    max-width: 520px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-logo-wrap {
    display: inline-block;
    margin-bottom: 18px;
    text-decoration: none;
}

.twr-modern-home-footer-section .twr-modern-home-footer-logo {
    width: 228px;
    max-width: 100%;
    height: auto;
    display: block;
}

.twr-modern-home-footer-section .twr-modern-home-footer-description {
    margin: 0;
    max-width: 480px;
    color: #202124;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

.twr-modern-home-footer-section .twr-modern-home-footer-contact-info {
    margin-top: 56px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-contact-info p {
    margin: 0 0 12px;
    color: #202124;
    font-size: 15px;
    line-height: 1.5;
}

.twr-modern-home-footer-section .twr-modern-home-footer-contact-info p:last-child {
    margin-bottom: 0;
}

.twr-modern-home-footer-section .twr-modern-home-footer-contact-info strong {
    font-weight: 700;
    color: #111111;
    margin-right: 4px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-contact-info a {
    color: #3b3b3b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 290px;
    
}

.twr-modern-home-footer-section .twr-modern-home-footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 62px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-social a {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #25357f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.twr-modern-home-footer-section .twr-modern-home-footer-social a:hover {
    background: #eb4d43;
    color: #ffffff;
}

.twr-modern-home-footer-section .twr-modern-home-footer-links {
    text-align: right;
    margin-top: auto;
}

.twr-modern-home-footer-section .twr-modern-home-footer-links-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-links-row:last-child {
    margin-bottom: 0;
}

.twr-modern-home-footer-section .twr-modern-home-footer-links a,
.twr-modern-home-footer-section .twr-modern-home-footer-links span {
    color: #202124;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}

.twr-modern-home-footer-section .twr-modern-home-footer-links a:hover {
    color: #25357f;
}

.twr-modern-home-footer-section .twr-modern-home-footer-bottom {
    text-align: center;
    margin-top: 80px;
}

.twr-modern-home-footer-section .twr-modern-home-footer-bottom p {
    margin: 0;
    color: #202124;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}


.twr-modern-home-footer-section .twr-modern-home-footer-nav {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0 0 40px 0;
    padding: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.twr-modern-home-footer-section .twr-modern-home-footer-nav li a {
    color: #202124;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.twr-modern-home-footer-section .twr-modern-home-footer-nav li a:hover {
    color: #25357f;
}

/* spacing fix */
.twr-modern-home-footer-section .twr-modern-home-footer-social {
    margin-bottom: 40px;
    padding-top: 50px;
}

@media (max-width: 1199.98px) {
    .twr-modern-home-footer-section .twr-modern-home-footer-container {
        padding: 0 32px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-top {
        gap: 40px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-right {
        padding-top: 100px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-social {
        margin-right: 20px;
    }
}

@media (max-width: 991.98px) {
    .twr-modern-home-footer-section {
        padding: 45px 0 22px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-container {
        padding: 0 20px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-left,
    .twr-modern-home-footer-section .twr-modern-home-footer-right {
        width: 100%;
        max-width: 100%;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-right {
        min-height: auto;
        padding-top: 0;
        align-items: flex-start;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-social {
        margin-right: 0;
        margin-bottom: 26px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-links {
        text-align: left;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-links-row {
        justify-content: flex-start;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-contact-info {
        margin-top: 34px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-bottom {
        margin-top: 45px;
    }
    .twr-modern-home-footer-section .twr-modern-home-footer-nav {
        justify-content: flex-start;
        margin-bottom: 25px;
    }
}

@media (max-width: 575.98px) {
    .twr-modern-home-footer-section .twr-modern-home-footer-container {
        padding: 0 16px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-logo {
        width: 200px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-description {
        font-size: 13px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-contact-info p,
    .twr-modern-home-footer-section .twr-modern-home-footer-links a,
    .twr-modern-home-footer-section .twr-modern-home-footer-links span {
        font-size: 14px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-links-row {
        gap: 8px;
    }

    .twr-modern-home-footer-section .twr-modern-home-footer-bottom p {
        font-size: 13px;
    }
}


