/* Shared site styles (header, footer, sections) */

.boxed_wrapper {
    padding-top: 70px;
    overflow: visible !important;
}

.page-title {
    padding: 52px 0 32px !important;
    background-position: center 35% !important;
}

.page-title:before {
    background: linear-gradient(90deg, rgba(13, 28, 39, 0.9) 0%, rgba(13, 28, 39, 0.5) 52%, rgba(13, 28, 39, 0.22) 100%) !important;
}

.page-title .title,
.page-title .title.centred {
    margin-bottom: 0 !important;
    text-align: left !important;
}

.page-title h6 {
    font-size: 12px !important;
    letter-spacing: 0.14em;
    opacity: 0.92;
    margin-bottom: 6px !important;
}

.page-title h1 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    max-width: 16em;
}

@media (max-width: 991px) {
    .page-title {
        padding: 36px 0 24px !important;
    }

    .page-title h1 {
        font-size: 24px !important;
        max-width: none;
    }
}

.main-header .sticky-header {
    display: none !important;
}

.main-header .header-lower,
.header-style-two .header-lower {
    padding: 0 !important;
}

.header-style-two .header-lower .outer-box {
    position: relative !important;
    background: #fff;
    padding: 0 20px 0 16px !important;
}

.main-header .auto-container {
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

.main-header .outer-box {
    padding: 0;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10050;
    background: rgba(255, 255, 255, 0.96);
    overflow: visible;
    border-bottom: 1px solid rgba(15, 43, 70, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(15, 43, 70, 0.06);
    backdrop-filter: blur(10px);
}

.main-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd 0%, #163a66 100%);
    pointer-events: none;
    z-index: 2;
}

.main-header.scrolled {
    box-shadow: 0 10px 28px rgba(15, 43, 70, 0.1);
}

.header-style-two .outer-box .main-box,
.header-style-two .outer-box .main-box.clearfix {
    position: relative;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 18px;
    min-height: 66px;
    width: 100%;
}

.header-style-two .outer-box .main-box::before,
.header-style-two .outer-box .main-box::after,
.main-header .menu-area::before,
.main-header .menu-area::after,
.main-header .navigation::before,
.main-header .navigation::after,
.main-header .navbar-collapse::before,
.main-header .navbar-collapse::after {
    display: none !important;
    content: none !important;
}

.header-style-two .logo-box {
    background: transparent !important;
    padding: 0 !important;
    width: auto !important;
    max-width: 156px;
    justify-self: start;
    margin: 0 !important;
}

.header-style-two .logo-box .bg-layer {
    display: none !important;
}

.header-style-two .logo-box .logo {
    max-width: 148px;
    margin: 0;
}

.header-style-two .logo-box .logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.main-header .mobile-nav-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 8px 6px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    float: none;
}

.main-header .mobile-nav-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 0 5px;
    background: #1e2434;
    border-radius: 2px;
}

.main-header .mobile-nav-toggler .icon-bar:last-child {
    margin-bottom: 0;
}

.main-header .menu-area,
.main-header .main-menu,
.main-header .navbar-collapse,
.header-style-two .outer-box .main-box {
    overflow: visible !important;
}

.main-header .menu-area {
    float: none !important;
    width: auto !important;
    justify-self: center;
    min-width: 0;
}

.main-header .main-menu {
    float: none !important;
    width: auto !important;
}

.main-header .menu-area,
.main-header .main-menu,
.main-header .navbar-collapse {
    height: 100%;
}

.main-header .main-menu,
.main-header .navbar-collapse {
    display: flex;
    align-items: stretch;
}

.main-header .navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2px;
    height: 100%;
}

.main-header .navigation > li {
    position: relative;
    display: flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    width: auto !important;
}

.main-menu .navigation li.dropdown .dropdown-btn {
    display: none !important;
}

.header-style-two .main-menu .navigation > li > a,
.main-header .navigation > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 9px !important;
    margin: 0;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none !important;
    color: #243746 !important;
    background: transparent !important;
    white-space: nowrap;
    border-radius: 0;
    transition: color 0.2s ease;
}

.main-header .navigation > li > a::before {
    display: none !important;
    content: none !important;
}

.header-style-two .main-menu .navigation > li.current > a,
.header-style-two .main-menu .navigation > li:hover > a,
.main-header .navigation > li:hover > a,
.main-header .navigation > li.current > a,
.main-header .navigation > li:focus-within > a,
.main-header .navigation > li.is-open > a {
    color: #0d6efd !important;
    background: transparent !important;
}

.main-header .navigation > li:hover,
.main-header .navigation > li:focus-within,
.main-header .navigation > li.current,
.main-header .navigation > li.is-open {
    box-shadow: inset 0 -2px 0 #0d6efd;
}

.main-header .navigation > li.current > a {
    font-weight: 800 !important;
}

.main-header .main-menu .navigation li ul,
.main-header .main-menu .navigation > li > ul,
.main-header .main-menu .navigation > li.dropdown > ul {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    margin: 0 !important;
    min-width: 200px;
    width: auto;
    background: #fff;
    border: 1px solid rgba(15, 43, 70, 0.08);
    border-radius: 12px;
    padding: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none;
    box-shadow: 0 20px 48px rgba(15, 43, 70, 0.14);
    z-index: 30;
    pointer-events: none;
}

.main-header .main-menu .navigation li ul::before,
.main-header .main-menu .navigation > li.dropdown > ul:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    width: auto;
    height: 10px;
    background: transparent;
}

.main-header .navigation > li:hover,
.main-header .navigation > li:focus-within {
    z-index: 40;
}

.main-header .main-menu .navigation li:hover > ul,
.main-header .main-menu .navigation li:focus-within > ul,
.main-header .main-menu .navigation > li.dropdown:hover > ul {
    display: block !important;
    pointer-events: auto;
    margin-top: 0 !important;
}

.main-header .navigation li ul li,
.main-header .main-menu .navigation > li > ul > li {
    position: relative;
    float: none !important;
    width: 100%;
    margin: 0;
    padding: 0 !important;
}

.main-header .navigation li ul li a,
.main-header .main-menu .navigation > li > ul > li > a,
.main-header .main-menu .navigation > li > ul > li.dropdown > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px !important;
    border-radius: 8px;
    border-bottom: none !important;
    font-size: 13px;
    font-weight: 600;
    color: #2d3a46;
    background: transparent;
    text-align: left;
}

.main-header .navigation li ul li a:before,
.main-header .main-menu .navigation > li > ul > li > a:before,
.main-header .main-menu .navigation > li > ul > li.dropdown > ul > li > a:before {
    display: none !important;
    content: none !important;
}

.main-header .navigation li ul li:hover > a,
.main-header .main-menu .navigation > li > ul > li > a:hover {
    background: #eef4ff;
    color: #0d6efd;
    padding-left: 12px !important;
}

.main-header .main-menu .navigation li ul li ul,
.main-header .main-menu .navigation li > ul > li.dropdown:hover > ul {
    top: 0;
    left: 100%;
    margin: 0 !important;
    margin-left: 0 !important;
    z-index: 31;
}

.main-header .main-menu .navigation li ul li ul::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    width: 10px;
    height: auto;
    right: auto;
}

.main-header .navigation li.dropdown > a:after {
    content: "";
    position: static;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    background: none;
    transform: rotate(45deg) translateY(-1px);
}

.main-header .navigation li ul li.dropdown > a:after {
    content: "";
    float: none;
    position: static;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    margin-left: 8px;
    background: none;
}

.main-header .navigation > li.mega-dropdown {
    position: static;
}

.main-header .main-menu .navigation > li.mega-dropdown > .megamenu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none !important;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% - 12px);
    width: auto;
    max-height: min(72vh, 640px);
    overflow: auto;
    padding: 18px 20px 16px;
    background: #fff;
    border: 1px solid rgba(15, 43, 70, 0.08);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 43, 70, 0.16);
    z-index: 50;
    transform: none !important;
}

.main-header .main-menu .navigation > li.mega-dropdown > .megamenu * {
    pointer-events: none !important;
}

.main-header .main-menu .navigation > li.mega-dropdown:hover > .megamenu,
.main-header .main-menu .navigation > li.mega-dropdown:focus-within > .megamenu,
.main-header .main-menu .navigation > li.mega-dropdown.is-open > .megamenu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.main-header .main-menu .navigation > li.mega-dropdown:hover > .megamenu *,
.main-header .main-menu .navigation > li.mega-dropdown:focus-within > .megamenu *,
.main-header .main-menu .navigation > li.mega-dropdown.is-open > .megamenu * {
    pointer-events: auto !important;
}

.main-header .megamenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    height: 28px;
    pointer-events: auto;
}

.mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f6;
}

.mega-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a2b3c;
}

.mega-filter {
    width: min(280px, 100%);
    height: 38px;
    padding: 0 14px;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    font-size: 13px;
    outline: none;
}

.mega-filter:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 22px;
}

.mega-col h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #142b3c;
}

.mega-col h4 a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #142b3c !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    padding: 0 !important;
}

.mega-col h4 a:hover {
    color: #0d6efd !important;
}

.mega-col h4 img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.mega-group {
    margin-top: 10px;
    padding: 8px 0 2px 10px;
    border-left: 2px solid #d7e6ff;
}

.mega-group-title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 4px;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0d6efd !important;
    text-decoration: none !important;
}

.mega-group-title::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu .mega-group ul,
.main-header .main-menu .navigation > li.mega-dropdown .megamenu ul.mega-sub {
    padding-left: 2px !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu .mega-group li a,
.main-header .main-menu .navigation > li.mega-dropdown .megamenu ul.mega-sub li a {
    position: relative;
    padding: 3px 0 3px 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #7a8896 !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu .mega-group li a::before,
.main-header .main-menu .navigation > li.mega-dropdown .megamenu ul.mega-sub li a::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c5d3e0;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu .mega-group li a:hover,
.main-header .main-menu .navigation > li.mega-dropdown .megamenu ul.mega-sub li a:hover {
    color: #0d6efd !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu ul,
.main-header .main-menu .navigation li.mega-dropdown ul {
    display: block !important;
    position: static !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu li,
.main-header .main-menu .navigation > li.mega-dropdown .megamenu li a {
    display: block;
    width: auto;
    float: none !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu li a {
    padding: 4px 0 !important;
    border-radius: 0;
    justify-content: flex-start;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7c8d !important;
    background: transparent !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu li a:hover {
    color: #0d6efd !important;
    background: transparent !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu .mega-group li a,
.main-header .main-menu .navigation > li.mega-dropdown .megamenu ul.mega-sub li a {
    padding: 4px 0 4px 16px !important;
}

.main-header .main-menu .navigation > li.mega-dropdown .megamenu .mega-group li a::before,
.main-header .main-menu .navigation > li.mega-dropdown .megamenu ul.mega-sub li a::before {
    top: 50%;
    transform: translateY(-50%);
}

.mega-col.mega-hidden,
.megamenu li.mega-hidden,
.megamenu .mega-group.mega-hidden {
    display: none !important;
}

.mobile-menu .megamenu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 0 8px 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mobile-menu .mega-head,
.mobile-menu .mega-more {
    display: none !important;
}

.mobile-menu .mega-grid {
    display: block;
}

.mobile-menu .mega-col {
    margin: 8px 0 14px;
}

.mobile-menu .mega-col h4,
.mobile-menu .mega-col h4 a {
    color: #fff !important;
    font-size: 14px;
}

.mobile-menu .mega-col .mega-extra {
    display: block;
}

.mobile-menu .mega-group {
    border-left-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu .mega-group-title {
    color: #9ec5ff !important;
}

.mobile-menu .megamenu .mega-group li a,
.mobile-menu .megamenu ul.mega-sub li a {
    color: rgba(255, 255, 255, 0.62) !important;
    padding-left: 12px !important;
}

.mobile-menu .megamenu ul {
    display: block !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}

.mobile-menu .megamenu li a {
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
    padding: 6px 0 !important;
}

/* Theme hides the first mega-menu <li> below 1200px (old dummy title row). Ours are real links. */
.megamenu ul li:first-child,
.mobile-menu .megamenu ul li:first-child,
.mobile-menu .megamenu .mega-col > ul > li:first-child,
.mobile-menu .megamenu .mega-group ul li:first-child {
    display: list-item !important;
}

.main-header .menu-right-content {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

.main-header .menu-right-content .support-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px 3px 3px !important;
    background: #f6f8fb;
    border: 1px solid #e8eef5;
    border-radius: 999px;
    min-height: 40px;
}

.main-header .menu-right-content .support-box .image {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.main-header .menu-right-content .support-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.support-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-right: 4px;
}

.support-copy span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7a8b9a;
}

.support-copy a {
    font-size: 13px;
    font-weight: 800;
    color: #142b3c !important;
    white-space: nowrap;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #0d6efd;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
    color: #fff !important;
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.36);
}

.social-dock {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    width: 48px;
    transform: translateY(-50%);
    background: #163a66;
    border-radius: 14px 0 0 14px;
    box-shadow: -6px 8px 24px rgba(15, 43, 70, 0.28);
    overflow: hidden;
}

.social-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff !important;
    font-size: 16px;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-dock a:last-child {
    border-bottom: 0;
}

.social-dock a:hover {
    color: #fff !important;
}

.social-dock a:nth-child(1):hover { background: #1877f2; }
.social-dock a:nth-child(2):hover { background: #e4405f; }
.social-dock a:nth-child(3):hover { background: #1da1f2; }
.social-dock a:nth-child(4):hover { background: #ff0000; }
.social-dock a:nth-child(5):hover { background: #0a66c8; }
.social-dock a:nth-child(6):hover { background: #25d366; }

.whatsapp-chat {
    display: none !important;
}

@media (max-width: 767px) {
    .social-dock {
        width: 40px;
        top: 42%;
    }

    .social-dock a {
        width: 40px;
        height: 42px;
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    .support-copy {
        display: none;
    }

    .main-header .navigation > li > a,
    .header-style-two .main-menu .navigation > li > a {
        padding: 8px 6px !important;
        font-size: 12px !important;
    }

    .header-cta {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .boxed_wrapper {
        padding-top: 0;
    }

    .main-header {
        position: relative;
    }

    .header-style-two .outer-box .main-box {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px 10px;
        min-height: 64px;
        padding: 6px 10px 6px 8px;
    }

    .main-header .menu-area {
        display: none !important;
    }

    .main-header .main-menu {
        display: none !important;
    }

    .main-header .mobile-nav-toggler {
        display: flex !important;
        order: 0;
        justify-self: start;
    }

    .header-style-two .logo-box {
        max-width: none;
        min-width: 0;
        width: auto !important;
        justify-self: start;
    }

    .header-style-two .logo-box .logo {
        max-width: min(168px, 38vw);
        margin: 4px 0;
    }

    .header-style-two .logo-box .logo img {
        max-height: 44px;
    }

    .main-header .menu-right-content {
        gap: 8px;
        min-width: 0;
    }

    .main-header .menu-right-content .support-box {
        min-height: 40px;
        padding: 2px 8px 2px 2px !important;
        gap: 0;
    }

    .main-header .menu-right-content .support-box .image {
        width: 36px !important;
        height: 36px !important;
    }

    .support-copy {
        display: none;
    }

    .header-cta {
        padding: 8px 10px;
        font-size: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .header-style-two .logo-box .logo {
        max-width: min(132px, 34vw);
    }

    .header-style-two .logo-box .logo img {
        max-height: 36px;
    }

    .header-cta {
        padding: 7px 8px;
        font-size: 11px;
    }
}

/* Testimonials */
.testimonial-style-two {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    overflow: hidden;
    background: #0f2b46;
}

.testimonial-style-two .pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.testimonial-style-two .auto-container {
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.testimonial-style-two .inner-container {
    text-align: center;
}

.testimonial-style-two .testimonial-content {
    display: flex;
    justify-content: center;
}

.testimonial-style-two .inner-box {
    max-width: 750px;
    margin: auto;
    color: #fff;
    padding: 20px;
}

.testimonial-style-two .thumb-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
}

.testimonial-style-two .thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-style-two p {
    font-size: 18px;
    line-height: 1.9;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 15px;
}

.testimonial-style-two h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
    color: #fff;
}

.testimonial-style-two .thumb-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.testimonial-style-two .thumb-inner figure {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.4;
    animation: floatThumb 6s ease-in-out infinite;
}

.testimonial-style-two .thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-1 { top: 20%; left: 8%; }
.thumb-2 { top: 55%; left: 18%; }
.thumb-3 { top: 50%; right: 18%; }
.thumb-4 { top: 20%; right: 8%; }

@keyframes floatThumb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@media (max-width: 991px) {
    .testimonial-style-two {
        padding: 70px 15px;
    }
    .testimonial-style-two p {
        font-size: 16px;
    }
    .testimonial-style-two .thumb-inner {
        display: none;
    }
}

@media (max-width: 576px) {
    .testimonial-style-two p {
        font-size: 15px;
    }
    .testimonial-style-two .thumb-box {
        width: 80px;
        height: 80px;
    }
}

/* Partners */
.partner-section {
    padding: 70px 15px;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    position: relative;
    overflow: hidden;
}

.partner-section::before,
.partner-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.05);
    animation: floatBg 8s ease-in-out infinite;
}

.partner-section::before {
    width: 180px;
    height: 180px;
    top: -50px;
    left: -50px;
}

.partner-section::after {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -80px;
    animation-delay: 2s;
}

.sub-title {
    color: #0d6efd;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.main-title {
    font-size: 38px;
    font-weight: 800;
    color: #1d3557;
    margin-bottom: 12px;
}

.title-line {
    width: 70px;
    height: 4px;
    border-radius: 10px;
    margin: 0 auto;
    background: linear-gradient(90deg, #0d6efd, #00b4ff);
}

.partner-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 18px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.partner-card img {
    max-width: 100%;
    max-height: 75px;
    object-fit: contain;
    transition: all 0.35s ease;
    filter: none;
}

.large-card {
    min-height: 170px;
}

.partner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 40px rgba(13, 110, 253, 0.18);
}

.partner-card:hover img {
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .partner-section {
        padding: 50px 10px;
    }
    .main-title {
        font-size: 28px;
    }
    .partner-card {
        min-height: 120px;
        padding: 20px 12px;
    }
    .partner-card img {
        max-height: 55px;
    }
}

/* Services */
.services-modern {
    padding: 80px 15px;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    position: relative;
    overflow: hidden;
}

.services-modern::before,
.services-modern::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.05);
    z-index: 0;
    animation: floatBg 8s ease-in-out infinite;
}

.services-modern::before {
    width: 220px;
    height: 220px;
    top: -60px;
    left: -60px;
}

.services-modern::after {
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -90px;
    animation-delay: 2s;
}

.section-title {
    position: relative;
    z-index: 2;
}

.tag-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #0d6efd;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1d3557;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sub-text {
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 15px;
}

.line {
    width: 75px;
    height: 4px;
    margin: auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #0d6efd, #00a6ff);
}

.service-card {
    background: #fff;
    border-radius: 22px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(13, 110, 253, 0.16);
}

.icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf2ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.10);
}

.icon-wrap img {
    max-width: 45px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1d3557;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 22px;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0d6efd, #00a6ff);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.service-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.25);
}

@keyframes floatBg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

@media (max-width: 768px) {
    .services-modern {
        padding: 55px 10px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .service-card {
        padding: 28px 20px;
    }
}

/* About sections (from sectionstyles.php) */
.about-style-five {
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.about-style-five:nth-child(even) {
    background: #f8fbff;
}

.about-style-five .row {
    align-items: center;
}

.about-style-five .image-box {
    text-align: center;
    padding: 0;
    background: transparent !important;
}

.about-style-five .image-box .image {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15, 43, 70, 0.12);
    transition: all 0.45s ease;
    background: transparent !important;
}

.about-style-five .image-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    background: transparent !important;
    transition: transform 0.6s ease;
}

.about-style-five:hover .image-box .image {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(13, 110, 253, 0.18);
}

.about-style-five:hover .image-box img {
    transform: scale(1.04);
}

.about-style-five .content-box {
    background: #fff;
    padding: 35px 32px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

.about-style-five:hover .content-box {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.15), 0 20px 55px rgba(0, 0, 0, 0.12);
}

.about-style-five .sec-title {
    margin-bottom: 18px;
}

.about-style-five .sec-title h2 {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #0d6efd, #00b7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

.about-style-five .text p {
    font-size: 16px;
    line-height: 1.9;
    color: #5c6570;
    margin: 0 0 12px;
}

.about-style-five .text p:last-child {
    margin-bottom: 0;
}

.about-style-five .text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2b3c;
    margin: 16px 0 8px;
}

.about-style-five .text ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.about-style-five .text li {
    font-size: 16px;
    line-height: 1.7;
    color: #5c6570;
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .about-style-five .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .about-style-five .image-column {
        order: -1;
        margin-bottom: 8px;
    }
}

.about-style-five .content-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    width: 70px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, #0d6efd, #00b7ff);
}

@media (max-width: 991px) {
    .about-style-five {
        padding: 50px 0;
    }
    .about-style-five .content-box {
        margin-top: 20px;
        padding: 28px 22px;
    }
    .about-style-five .sec-title h2 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-style-five *,
    .partner-card,
    .service-card,
    .testimonial-style-two .thumb-inner figure {
        animation: none !important;
        transition: none !important;
    }
}

.video-stories-section {
    position: relative;
    padding: 50px 0 70px;
    background: #fff;
}

.video-slider-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 56px;
}

.video-single-slider {
    width: 100%;
    margin: 0 auto;
}

.video-single-slider .owl-stage-outer {
    overflow: hidden;
    border-radius: 20px;
}

.video-slide {
    border-radius: 20px;
    overflow: hidden;
    background: #0b1c2c;
    box-shadow: 0 20px 50px rgba(15, 43, 70, 0.16);
}

.video-slide video {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    background: #0b1c2c;
}

.video-stories-section .owl-nav {
    position: static !important;
    margin: 0 !important;
    height: 0 !important;
}

.video-stories-section .owl-nav button,
.video-stories-section .owl-nav button.owl-prev,
.video-stories-section .owl-nav button.owl-next {
    position: absolute !important;
    top: 50% !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #0d6efd !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.28);
    transform: translateY(-50%);
    z-index: 3;
}

.video-stories-section .owl-nav button.owl-prev {
    left: 0 !important;
    right: auto !important;
}

.video-stories-section .owl-nav button.owl-next {
    right: 0 !important;
    left: auto !important;
}

.video-stories-section .owl-nav button span,
.video-stories-section .owl-nav button span:before {
    display: block;
    font-size: 18px;
    line-height: 44px;
    content: none;
}

.video-stories-section .owl-nav button:hover {
    background: #0b5ed7 !important;
}

.video-stories-section .owl-dots {
    position: relative !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 22px !important;
    text-align: center;
}

.video-stories-section .owl-dots .owl-dot {
    display: inline-block;
}

.video-stories-section .owl-dots .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background: #cfd8e3;
    transition: all 0.2s ease;
}

.video-stories-section .owl-dots .owl-dot.active span,
.video-stories-section .owl-dots .owl-dot:hover span {
    width: 22px;
    border-radius: 8px;
    background: #0d6efd;
}

@media (max-width: 767px) {
    .video-slider-wrap {
        padding: 0 42px;
    }

    .video-slide video {
        height: 240px;
    }

    .video-stories-section .owl-nav button,
    .video-stories-section .owl-nav button.owl-prev,
    .video-stories-section .owl-nav button.owl-next {
        width: 36px !important;
        height: 36px !important;
    }

    .video-stories-section .owl-nav button span {
        line-height: 36px;
        font-size: 16px;
    }
}

/* Remove white frames around content photos */
.about-style-four .image-box,
.about-style-five .image-box,
.about-style-six .image-box,
.about-section .image-box,
.image-column .image-box {
    background: transparent !important;
    padding: 0 !important;
}

.about-style-four .image-box .image,
.about-style-five .image-box .image,
.about-style-six .image-box .image,
.about-section .image-box .image,
.image-column .image-box .image,
.image-box figure.image {
    background: transparent !important;
}

.about-style-four .image-box img,
.about-style-five .image-box img,
.about-style-six .image-box img,
.about-section .image-box img,
.image-column .image-box img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    height: auto;
    background: transparent !important;
}

html.eligibility-popup-open,
body.eligibility-popup-open {
    overflow: hidden !important;
    height: 100%;
    overscroll-behavior: none;
}

body.eligibility-popup-open .social-dock,
body.eligibility-popup-open .scroll-top,
body.result-popup-open .social-dock,
body.result-popup-open .scroll-top {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.eligibility-welcome {
    display: flex;
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    z-index: 2147483646 !important;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 43, 70, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, background 0.35s ease;
}

.eligibility-welcome.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(15, 43, 70, 0.55);
}

.eligibility-welcome-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    max-width: 560px;
    max-height: min(90dvh, calc(100dvh - 32px));
    height: fit-content;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 24px 60px rgba(15, 43, 70, 0.22);
    opacity: 0;
    transform: translateY(28px) scale(0.94);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.eligibility-welcome-head {
    position: relative;
    flex: 0 0 auto;
    padding: 20px 52px 12px 24px;
}

.eligibility-welcome-body {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 4px;
}

.eligibility-welcome-actions {
    flex: 0 0 auto;
    padding: 8px 24px 16px;
    background: #fff;
    border-top: 1px solid #eef2f7;
    box-shadow: none;
}

.eligibility-welcome-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d3557;
    margin: 0;
}

.eligibility-welcome-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f4f7fb;
    color: #1a2b3c;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.eligibility-welcome-card form {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-height: 0;
    overflow: hidden;
}

.eligibility-welcome.is-open .eligibility-welcome-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: popupGlow 1.8s ease 0.35s 1;
}

@keyframes popupGlow {
    0%, 100% { box-shadow: 0 24px 60px rgba(15, 43, 70, 0.22); }
    50% { box-shadow: 0 28px 70px rgba(13, 110, 253, 0.28); }
}

.eligibility-welcome.is-open .eligibility-welcome-title {
    animation: popupFadeUp 0.45s ease both;
}

.eligibility-welcome.is-open .eligibility-welcome-card .row > div {
    animation: popupFadeUp 0.4s ease both;
}

.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(1) { animation-delay: 0.08s; }
.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(2) { animation-delay: 0.12s; }
.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(3) { animation-delay: 0.16s; }
.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(4) { animation-delay: 0.2s; }
.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(5) { animation-delay: 0.24s; }
.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(6) { animation-delay: 0.28s; }
.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(7) { animation-delay: 0.32s; }
.eligibility-welcome.is-open .eligibility-welcome-card .row > div:nth-child(8) { animation-delay: 0.36s; }

@keyframes popupFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.eligibility-welcome-close:hover {
    background: #0d6efd;
    color: #fff;
    transform: rotate(90deg);
}

.eligibility-popup-message {
    margin: 0 24px 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    animation: popupFadeUp 0.3s ease;
}

.eligibility-welcome-card .custom-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.eligibility-welcome-card .custom-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.eligibility-welcome-card .custom-input.is-invalid {
    animation: fieldShake 0.35s ease;
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.eligibility-welcome-card .field-error:not(:empty) {
    animation: popupFadeUp 0.25s ease;
}

.eligibility-welcome-card .custom-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eligibility-welcome-card .custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(13, 110, 253, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    .eligibility-welcome,
    .eligibility-welcome-card,
    .eligibility-welcome-close,
    .eligibility-welcome-card .custom-input,
    .eligibility-welcome-card .custom-btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

.eligibility-popup-message.is-error {
    background: #fdecec;
    color: #b42318;
}

.eligibility-popup-message.is-success {
    background: #e8f8ef;
    color: #067647;
}

.eligibility-welcome-card .custom-input {
    height: 46px;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
}

.eligibility-welcome-card .custom-input.is-invalid {
    border-color: #dc3545;
}

.eligibility-welcome-card .field-error,
.eligibility-welcome-card span.field-error {
    display: block !important;
    min-height: 0;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: #dc3545 !important;
}

.eligibility-welcome-card .field-error:not(:empty),
.eligibility-welcome-card span.field-error:not(:empty) {
    min-height: 14px;
    margin-top: 4px;
}

.eligibility-welcome-body .row > [class*="col-"]:last-child {
    margin-bottom: 0 !important;
}

.eligibility-welcome-card small {
    display: block;
    color: #666;
}

.eligibility-welcome-card .custom-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #0047b3, #00a6ff);
}

@media (max-width: 991px) {
    .eligibility-welcome {
        align-items: center;
        justify-content: center;
        padding: 12px;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .eligibility-welcome-card {
        max-width: 100%;
        max-height: calc(100dvh - 24px);
        height: fit-content;
        flex: 0 0 auto;
        align-self: center;
        margin: 0;
        border-radius: 18px;
        transform: none;
    }

    .eligibility-welcome.is-open .eligibility-welcome-card {
        transform: none;
        animation: none;
    }

    .eligibility-welcome.is-open .eligibility-welcome-title,
    .eligibility-welcome.is-open .eligibility-welcome-card .row > div {
        animation: none;
    }

    .eligibility-welcome-head {
        padding: 16px 48px 8px 16px;
    }

    .eligibility-welcome-title {
        font-size: 17px;
        line-height: 1.3;
    }

    .eligibility-welcome-body {
        padding: 0 16px 2px;
    }

    .eligibility-welcome-actions {
        padding: 8px 16px 14px;
    }

    .eligibility-popup-message {
        margin: 0 16px 8px;
    }

    .eligibility-welcome-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .eligibility-welcome-card .custom-input {
        height: 42px;
        font-size: 16px;
    }

    .eligibility-welcome-card small {
        display: none;
    }

    .eligibility-welcome-card .field-error,
    .eligibility-welcome-card span.field-error {
        min-height: 0;
        margin-top: 2px;
        font-size: 11px;
    }

    .eligibility-welcome-card .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .eligibility-welcome-card .mb-3,
    .eligibility-welcome-card .mb-4 {
        margin-bottom: 8px !important;
    }

    .eligibility-welcome-body .row > [class*="col-"]:last-child {
        margin-bottom: 0 !important;
    }

    .eligibility-welcome-card .custom-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
}

body.result-popup-open {
    overflow: hidden;
}

.custom-modal {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483002;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    background: rgba(15, 43, 70, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}

.custom-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(15, 43, 70, 0.58);
}

.custom-modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: auto;
    padding: 36px 28px 24px;
    border-radius: 22px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 28px 70px rgba(15, 43, 70, 0.28);
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.custom-modal.is-open .custom-modal-content {
    transform: none;
    opacity: 1;
}

.custom-modal-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef3f9;
    color: #1a2b3c;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.custom-modal-x:hover {
    background: #0d6efd;
    color: #fff;
    transform: rotate(90deg);
}

.custom-modal .modal-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    animation: resultPulse 1.4s ease infinite;
}

.custom-modal.is-error .modal-icon-wrap {
    background: linear-gradient(135deg, #ff5a5f, #d61f26);
    box-shadow: 0 12px 24px rgba(214, 31, 38, 0.28);
}

.custom-modal.is-success .modal-icon-wrap {
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 12px 24px rgba(21, 128, 61, 0.28);
}

.custom-modal.is-warn .modal-icon-wrap {
    background: linear-gradient(135deg, #fb7185, #be123c);
    box-shadow: 0 12px 24px rgba(190, 18, 60, 0.25);
}

@keyframes resultPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.custom-modal-content h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #1d3557;
}

.custom-modal.is-error h3,
.custom-modal.is-warn h3 {
    color: #c1121f;
}

.custom-modal.is-success h3 {
    color: #15803d;
}

.custom-modal .result-lead {
    margin: 0 0 16px;
    color: #5b6b7c;
    font-size: 14px;
    line-height: 1.5;
}

.custom-modal .result-list {
    margin: 0 0 8px;
    padding: 12px 14px;
    list-style: none;
    text-align: left;
    background: #fff5f5;
    border: 1px solid #ffd5d5;
    border-radius: 14px;
}

.custom-modal .result-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: #c1121f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.custom-modal .result-list li:before {
    content: "!";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.custom-modal-content #popupCloseBtn {
    margin-top: 18px;
    min-width: 140px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #0047b3);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-modal-content #popupCloseBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(13, 110, 253, 0.34);
}

@media (max-width: 767px) {
    .custom-modal {
        align-items: flex-start;
        padding: 10px;
    }

    .custom-modal-content {
        max-width: 100%;
        padding: 32px 16px 20px;
        border-radius: 18px;
        transform: none;
    }

    .custom-modal.is-open .custom-modal-content {
        transform: none;
    }

    .custom-modal-content h3 {
        font-size: 20px;
    }

    .custom-modal .modal-icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

.contact-section {
    padding: 16px 0 !important;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
    margin-top: 8px;
}

.elig-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 43, 70, 0.12);
    animation: eligCardIn 0.55s ease both;
}

@keyframes eligCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.elig-split-visual {
    position: relative;
    min-height: 280px;
    background: #0f2b46;
    overflow: hidden;
}

.elig-split-carousel {
    position: absolute;
    inset: 0;
}

.elig-split-carousel.owl-carousel .owl-stage-outer,
.elig-split-carousel .owl-stage,
.elig-split-carousel .owl-item,
.elig-split-slide {
    height: 100%;
}

.elig-split-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.elig-split-carousel .owl-dots {
    position: absolute;
    right: 12px;
    bottom: 14px;
    left: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 !important;
}

.elig-split-carousel .owl-dot {
    display: block;
}

.elig-split-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 1px 4px rgba(15, 43, 70, 0.25);
}

.elig-split-carousel .owl-dot.active span {
    background: #fff !important;
    transform: scale(1.15);
}

.elig-split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 43, 70, 0.08) 0%, rgba(15, 43, 70, 0.55) 100%);
    pointer-events: none;
}

.elig-split-form {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 18px 22px 16px !important;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(180deg, #e8f1ff, #fff) border-box;
}

.elig-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0d6efd;
    background: #eef5ff;
    border: 1px solid #d6e6ff;
    border-radius: 999px;
}

.elig-lead {
    margin: 0 0 10px;
    color: #5b6773;
    font-size: 13px;
    line-height: 1.4;
}

.contact-section .form-card h2,
.elig-split-form h2 {
    color: #0f2b46;
    font-size: 22px !important;
    font-weight: 800;
    margin-bottom: 6px !important;
}

.elig-split-form .mb-3 {
    margin-bottom: 8px !important;
}

.elig-split-form .custom-input {
    height: 40px;
    font-size: 15px;
}

.elig-split-form .field-error {
    min-height: 0;
    margin-top: 0;
}

.elig-split-form .field-error:not(:empty) {
    min-height: 14px;
    margin-top: 2px;
}

.elig-split-form small {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.3;
}

.elig-split-form .custom-btn {
    padding: 11px 16px !important;
}

.elig-split-form .row > [class*="col-"] {
    animation: eligFieldIn 0.45s ease both;
}

.elig-split-form .row > [class*="col-"]:nth-child(1) { animation-delay: 0.05s; }
.elig-split-form .row > [class*="col-"]:nth-child(2) { animation-delay: 0.1s; }
.elig-split-form .row > [class*="col-"]:nth-child(3) { animation-delay: 0.15s; }
.elig-split-form .row > [class*="col-"]:nth-child(4) { animation-delay: 0.2s; }
.elig-split-form .row > [class*="col-"]:nth-child(5) { animation-delay: 0.25s; }
.elig-split-form .row > [class*="col-"]:nth-child(6) { animation-delay: 0.3s; }
.elig-split-form .row > [class*="col-"]:nth-child(7) { animation-delay: 0.35s; }

@keyframes eligFieldIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .elig-split {
        grid-template-columns: 1fr;
    }

    .elig-split-visual {
        min-height: 150px;
        max-height: 170px;
    }

    .elig-split-form {
        padding: 14px 14px 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elig-split,
    .elig-split-form .row > [class*="col-"],
    .custom-btn,
    .custom-btn::after {
        animation: none !important;
        transform: none !important;
    }
}

.contact-section .form-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.contact-section .form-card .elig-field,
.eligibility-welcome-card .elig-field {
    position: relative;
    width: 100%;
}

.contact-section .form-card .elig-ph,
.eligibility-welcome-card .elig-ph {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

.contact-section .form-card .elig-ph i,
.eligibility-welcome-card .elig-ph i {
    color: #dc3545;
    font-style: normal;
    font-weight: 700;
}

.contact-section .form-card .elig-field input:focus + .elig-ph,
.contact-section .form-card .elig-field input:not(:placeholder-shown) + .elig-ph,
.eligibility-welcome-card .elig-field input:focus + .elig-ph,
.eligibility-welcome-card .elig-field input:not(:placeholder-shown) + .elig-ph,
.contact-section .form-card .elig-field:has(select option:checked:not([value=""])) .elig-ph,
.eligibility-welcome-card .elig-field:has(select option:checked:not([value=""])) .elig-ph {
    opacity: 0;
}

.contact-section .form-card .row,
.eligibility-welcome-card .row {
    margin-left: 0;
    margin-right: 0;
}

.contact-section .form-card .row > [class*="col-"],
.eligibility-welcome-card .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .contact-section .form-card .row > .col-md-6:nth-child(odd),
    .eligibility-welcome-card .row > .col-md-6:nth-child(odd) {
        padding-right: 8px;
    }
    .contact-section .form-card .row > .col-md-6:nth-child(even),
    .eligibility-welcome-card .row > .col-md-6:nth-child(even) {
        padding-left: 8px;
    }
}

.contact-section .form-card .custom-input,
.eligibility-welcome-card .custom-input {
    height: 46px;
    padding: 8px 14px;
    font-size: 16px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    background-image: none !important;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-section .form-card .elig-field:focus-within .custom-input,
.eligibility-welcome-card .elig-field:focus-within .custom-input {
    border-color: #0d6efd;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
    outline: none;
}

.contact-section .form-card .elig-field:focus-within .custom-input.is-invalid,
.eligibility-welcome-card .elig-field:focus-within .custom-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12);
}

.contact-section .form-card select.custom-input,
.eligibility-welcome-card select.custom-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
}

.contact-section .form-card select.custom-input.is-invalid,
.eligibility-welcome-card select.custom-input.is-invalid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
}

.contact-section .form-card .form-control.is-invalid,
.eligibility-welcome-card .form-control.is-invalid {
    background-image: none !important;
    padding-right: 14px !important;
}

.contact-section .form-card select.form-control.is-invalid,
.eligibility-welcome-card select.form-control.is-invalid {
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
}

.contact-section .form-card .field-error {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    margin-left: 0;
    font-size: 12px;
    font-weight: 600;
    color: #dc3545 !important;
}

.eligibility-welcome-card .field-error {
    display: block;
    min-height: 0;
    margin-top: 0;
    margin-left: 0;
    font-size: 12px;
    font-weight: 600;
    color: #dc3545 !important;
}

.contact-section .elig-split-form .custom-input {
    height: 40px;
    font-size: 15px;
}

.contact-section .elig-split-form .mb-3 {
    margin-bottom: 8px !important;
}

.contact-section .elig-split-form .field-error {
    min-height: 0;
    margin-top: 0;
}

.contact-section .elig-split-form .field-error:not(:empty) {
    min-height: 14px;
    margin-top: 2px;
}

.contact-section .elig-split-form small {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.3;
}

.contact-section .elig-split-form .custom-btn {
    padding: 11px 16px !important;
}

.contact-section .form-card small {
    display: block;
    margin-top: 4px;
}

.contact-section .form-card .is-invalid,
.eligibility-welcome-card .is-invalid {
    border-color: #dc3545 !important;
}

.contact-section .form-card .nice-select {
    float: none;
    width: 100%;
    height: 46px;
    line-height: 44px;
    border-radius: 10px;
    padding-left: 14px;
    box-sizing: border-box;
}

.custom-btn {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 14px 20px !important;
    border: none;
    border-radius: 12px !important;
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    background-color: #0d6efd !important;
    background-image: linear-gradient(90deg, #0d6efd, #3b8bff 55%, #0d6efd) !important;
    background-size: 160% 100% !important;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(13, 110, 253, .25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.35s ease;
}

.custom-btn:hover,
.custom-btn:focus {
    color: #fff !important;
    transform: translateY(-2px);
    background-position: 100% 0 !important;
    box-shadow: 0 16px 32px rgba(13, 110, 253, .38);
}

.custom-btn:active {
    transform: translateY(0);
}

.custom-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    animation: eligBtnShine 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes eligBtnShine {
    0%, 55% { left: -40%; }
    80%, 100% { left: 140%; }
}

.custom-btn::before {
    pointer-events: none;
}

@media (min-width: 992px) {
    .contact-section .col-lg-6:first-child {
        flex: 0 0 48%;
        max-width: 48%;
    }
    .contact-section .col-lg-6:last-child {
        flex: 0 0 52%;
        max-width: 52%;
    }
}

@media (max-width: 991px) {
    .contact-section {
        padding: 20px 0 !important;
        margin-top: 8px;
    }
    .contact-section .form-card {
        padding: 16px;
        max-width: 100%;
    }
    .contact-section > .container-fluid > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    .contact-section .form-card .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .custom-btn {
        font-size: 16px;
        min-height: 48px;
    }
}

.footer-style-three .text h6 a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-style-three .text h6 a:hover {
    color: #4da3ff !important;
    border-bottom-color: #4da3ff;
    transform: translateX(4px);
}

.footer-style-three .logo-widget .links-list li a {
    transition: color 0.2s ease, padding-left 0.2s ease, transform 0.2s ease;
}

.footer-style-three .logo-widget .links-list li a:hover {
    color: #4da3ff !important;
    padding-left: 26px;
}

.footer-style-three .logo-widget .links-list li a:hover:before {
    color: #4da3ff;
}

.footer-style-three .info-list a:hover {
    color: #4da3ff !important;
}

.footer-bottom a:hover {
    color: #4da3ff !important;
}

.policy-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #eef4ff, #f8fbff);
}

.policy-box {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.popup-inner-content {
    max-width: 1000px;
    margin: auto;
}

.popup-inner-content h2 {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
}

.popup-inner-content h4 {
    margin-top: 25px;
    color: #0d6efd;
    font-size: 18px;
}

.popup-inner-content p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.popup-inner-content ul {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .policy-box {
        padding: 25px 18px;
    }
    .popup-inner-content h2 {
        font-size: 24px;
    }
}

.content-tabs-section {
    padding: 20px 0 50px;
}

.content-tabs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-tabs-nav,
.content-tabs-stage {
    display: contents;
}

.content-tabs-nav button {
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #e6edf5;
    border-left: 4px solid transparent;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e3a5f;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 43, 70, 0.05);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    order: calc(var(--i, 0) * 2);
}

.content-tabs-nav button:hover {
    color: #0d6efd;
    border-color: #cfe2ff;
    box-shadow: 0 8px 22px rgba(13, 110, 253, 0.1);
}

.content-tabs-nav button.is-active {
    color: #0d6efd;
    border-color: #cfe2ff;
    border-left-color: #0d6efd;
    background: #f4f8ff;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.12);
}

.content-tabs-panel {
    background: #fff;
    border: 1px solid rgba(15, 43, 70, 0.06);
    border-radius: 18px;
    box-shadow:
        0 2px 8px rgba(15, 43, 70, 0.04),
        0 18px 44px rgba(15, 43, 70, 0.1);
    overflow: hidden;
    order: calc(var(--i, 0) * 2 + 1);
}

.content-tabs-panel.is-active {
    animation: tabPanelIn 0.45s ease;
}

.content-tabs-panel.is-active .content-tabs-media img {
    animation: tabImageIn 0.55s ease;
}

.content-tabs-panel.is-active .content-tabs-copy {
    animation: tabCopyIn 0.5s ease 0.08s both;
}

@keyframes tabPanelIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes tabImageIn {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes tabCopyIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .content-tabs-nav button,
    .content-tabs-panel.is-active,
    .content-tabs-panel.is-active .content-tabs-media img,
    .content-tabs-panel.is-active .content-tabs-copy {
        animation: none;
        transition: none;
        transform: none;
    }
}

.content-tabs-media {
    position: relative;
}

.content-tabs-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
}

.content-tabs-media img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.content-tabs-copy {
    position: relative;
    padding: 8px 28px 28px;
}

.content-tabs-copy h2 {
    margin: 0 0 14px;
    color: #0d6efd;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.content-tabs-copy .text p,
.content-tabs-copy .text .cra {
    margin: 0 0 12px;
    color: #5b6773;
    font-size: 16px;
    line-height: 1.7;
}

.content-tabs-copy .text h3 {
    margin: 16px 0 8px;
    color: #1e3a5f;
    font-size: 18px;
    font-weight: 700;
}

@media (min-width: 992px) {
    .content-tabs-list {
        display: grid;
        grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
        gap: 8px 24px;
        align-items: start;
    }

    .content-tabs-nav,
    .content-tabs-stage {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .content-tabs-nav button,
    .content-tabs-panel {
        order: 0;
    }

    .content-tabs-nav button:hover,
    .content-tabs-nav button.is-active {
        transform: translateX(4px);
    }
}

@media (max-width: 991px) {
    .content-tabs-nav button {
        scroll-margin-top: 84px;
    }

    .content-tabs-copy h2 {
        display: none;
    }

    .content-tabs-media img {
        height: 200px;
    }

    .content-tabs-copy {
        padding: 16px 16px 20px;
    }
}
