.slider-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

.slide-box {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    border: 3px solid rgba(0, 147, 132, 0.22);
    /* golden border */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin: auto;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0px 4px 10px #0c0f3f00;
}

.service-btn {
    background: #0c0f3f;
    color: white;
    border-radius: 30px;
}

.service-btn:hover {
    border-color: #0c0f3f;
    background: white;

    color: #0c0f3f;
}

.service-outline {
    border-radius: 30px;
    border: 1px solid #0c0f3f;
    color: #0c0f3f;
}

.service-outline:hover {
    background: #0c0f3f;
    color: white;
}

.accordion-button {
    font-size: 22px;
}

.accordion-button:not(.collapsed) {
    color: white !important;
    background-color: #0c0f3f !important;

}

.accordion-button:not(.collapsed)::after {
    color: white !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 5 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-size: 1rem;
    transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-body {
    font-size: 18px;
    font-family: 'Figtree';
}

/* Content card under tabs */
.tab-content-card {
    background: #F39C3721;
    border-radius: .5rem;
    padding: 1.5rem;
}

.tab-content-card h3 {
    text-align: center;
}

.tab-content-card h3::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: #0c0f3f;
    /* golden underline */
    border-radius: 999px;
    margin: 20px auto 0;
}

.tab-content-card p {
    text-align: center;
}

.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none !important;
}

.btn-outline {
    background: white;
    color: black !important;
    border: 2px solid #F39C37;
    font-weight: 400;
    font-size: 20px;
}

.btn-outline:hover {
    background: #F39C37;
    color: white !important;
}

.hex-card {
    position: absolute;
    aspect-ratio: 1 / 0.9;
    width: 200px;
    height: 200px;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hex-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
    border-radius: 10px;
}

.hex-logo {
    color: #F39C37;
    font-size: 2.5rem;
}

.hex-label {
    color: #F39C37;
    font-weight: 600;
    font-size: 1.2rem;
}

.hex-res {
    left: 20%;
}

.tab-btn {
    border: 1px solid #0b0f3f !important;
    outline: none !important;
    background: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 500;
    color: #0b0f3f;
    transition: all 0.3s ease;
}



.tab-btn.active {
    background: #0b0f3f;
    color: white;
}



.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
}

.list-group-item {
    padding: 20px;
    font-weight: 600;
}

.list-group-item.active {
    background: #F39C37;
    color: white;
    border-color: #F39C37;
}

.arrow-down::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid #0c0f3f;
}

.tabs-background {
    background: #0c0f3f;
    position: relative;
    overflow: visible;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1200px) {
    .package-row {
        width: 20%;
    }

    .hex-res {
        position: absolute;
    }
}

@media (max-width: 1200px) {
    .hex-res {
        position: static !important;
        left: 10%;
    }
}

@media (max-width: 1200px) {
    .hex-res {
        position: relative;
    }

    .hex-card {
        position: static;
    }
}

/* New styles for services section */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 147, 132, 0.15);
    border-color: #F39C37;
}

.service-icon {
    background: linear-gradient(135deg, #F39C37, #00c9a7);
    box-shadow: 0 4px 10px rgba(0, 147, 132, 0.3);
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-bottom: 1rem;
}

.service-card h5 {
    color: #F39C37;
    position: relative;
    padding-bottom: 10px;
}

.service-card h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #F39C37;
}

/* Tabs section styles */


/* Use CSS Grid for tabs header */
.tabs-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 16px;
    justify-items: stretch;
    align-items: stretch;
}

.tabs-grid .nav-item {
    width: 100%;
}

.tabs-grid .custom-tab {
    width: 100%;
}

@media (max-width: 1200px) {
    .tabs-grid {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
    }
}

@media (max-width: 992px) {
    .tabs-grid {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .tabs-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 420px) {
    .tabs-background {
        box-shadow: none !important;
        background: transparent !important;
    }

    .tabs-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

.custom-tab {
    background: #fff;
    border-radius: 6px;
    padding: 18px 10px 14px 10px;
    border: none;
    font-weight: 600;
    color: #313546;
    min-width: 140px;
    min-height: 130px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgb(49 53 70 / 0.15);
    white-space: normal;
}

.custom-tab .icon-bg {
    background: #ffffff;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e5e7eb;
}

.custom-tab .icon-bg img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.custom-tab svg {
    color: #313546;
    transition: color 0.3s ease;
}

.nav-tabs .nav-link.active {
    /* active tab card stays white */
    background-color: #ffffff;
    color: #313546;
    box-shadow: 0 4px 12px rgb(49 53 70 / 0.15);
}

.nav-tabs .nav-link.active svg {
    color: #ffffff;
    /* icon goes white inside black square */
}

/* Active icon box becomes black */
.nav-tabs .nav-link.active .icon-bg {
    background: #0c0f3f0f;
    border-color: #000000;
}

.nav-link:focus,
.nav-link:hover {
    color: #F39C37;
}

.arrow-down {
    position: absolute;
    left: 33%;
    transform: translateX(-54%);
    bottom: -21px;
    /* slightly below header card */
    width: 0;
    height: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 10;
    pointer-events: none;
}

/* White triangle */

/* Soft shadow behind arrow */
.arrow-down::before {
    content: none;
    /* remove shadow */
}

.nav-item .nav-link.active+.arrow-down {
    opacity: 1;
}

/* Hide arrow on screens smaller than 992px */
@media (max-width: 992px) {
    .arrow-down {
        display: none !important;
    }
}



.benefits-list .benefit-card {
    background: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    padding: 30px 30px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.benefits-list .benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 147, 132, 0.15);
    border-color: rgba(0, 147, 132, 0.25);
    background: #FFFFFF;
}

.benefits-list .benefit-title {
    color: #0c0f3f;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 14px;
}

.benefit-card img {
    width: 100%;
}

@media (max-width: 767.98px) {
    .benefits-list .benefit-card {
        padding: 16px;
    }

    .benefit-card .row {
        flex-direction: column-reverse;
        text-align: center;
    }

    .benefits-list .benefit-title {
        font-size: 1rem;
    }

    .benefit-card img {
        width: 25% !important;
    }
}

@media (max-width: 576px) {}

.fancy-card {
    height: 395px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 5px 28px 0 rgba(51, 52, 70, 0.09), 0 1.5px 5px 0 rgba(0, 147, 132, 0.06);
    border: 1.5px solid #EDEEF1;
    padding: 2.3rem 1.5rem 2rem 1.5rem;
    text-align: center;
    transition:
        box-shadow 0.20s cubic-bezier(.4, 2, .3, 1),
        border-color 0.16s,
        transform 0.21s;
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.fancy-card:hover {
    border-color: #F39C37;
    background: #fff;
}

.icon-area {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: linear-gradient(120deg, #F39C37 60%, #0c0f3f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.25rem;
    box-shadow: 0 1.5px 15px #F39C3750;
    transition: background 0.2s, color 0.18s;
}

.fancy-card h5 {
    font-weight: 600;
    color: #0c0f3f;
    font-size: 21px;
    letter-spacing: 0.3px;
    margin-bottom: 0.55rem;
    margin-top: 5px;
    transition: color .23s;
}

.fancy-card p {
    color: #454A61;
    font-size: 18px;
    margin-bottom: 1.42rem;
    min-height: 72px;
    transition: color .22s;
}

.modern-btn {
    margin-top: auto;
    width: 50%;
    background: #fff;
    border: 2px solid #222;
    color: #222;
    padding: 8px 20px 8px 18px;
    font-weight: bold;
    border-radius: 30px;
    font-size: 1.05rem;
    box-shadow: 0 1.5px 10px rgba(51, 52, 70, 0.04);
    text-decoration: none;
    display: inline-block;
    transition:
        background 0.14s,
        color 0.17s,
        border-color 0.16s,
        box-shadow 0.15s;
    position: relative;
}

.modern-btn:hover {
    color: #fff;
    background: #F39C37;
    border-color: #F39C37;
    box-shadow: 0 2.5px 18px rgba(0, 147, 132, 0.14);
    text-decoration: none;
}

.modern-btn i {
    font-size: 1.14em;
    margin-left: 6px;
    vertical-align: 0;
    transition: color 0.18s;
}

@media (max-width: 768px) {
    .fancy-card {
        height: auto;
    }
}



.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 35px;
    max-width: 910px;
    margin: 70px auto;
    padding: 0 8px;
    justify-items: center;
}

.tech-card {
    height: 133px;
    width: 171px;
    background: #f39c374a;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1.2px solid #F2F2F2;
}

.tech-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

.tech-card .icon {
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card .label {
    font-weight: 500;
    font-size: 1.03rem;
    color: #232323;
    letter-spacing: 0.01em;
}

@media (max-width: 1440px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .card-grid {
        grid-template-columns: 1fr;
        max-width: 390px;
    }
}

.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 1000px;
}

/* Center line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: white;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

/* Step content boxes */
.timeline-content {
    position: relative;
    padding: 25px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    width: calc(100% - 60px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.timeline-item.right .timeline-content {
    left: 0;
    right: auto;
    text-align: left;
    margin-left: 80px;
}

/* Number dots */
.timeline-dot {
    position: absolute;
    top: 20px;
    left: 5%;
    transform: translateX(-50%);
    background: white;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 8px solid #fff;
    box-shadow: 0 0 0 4px #0c0f3f;
}

.timeline-dot.active {
    background: #F39C37;
    /* active green */
    color: #fff;
}

/* Titles */
.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0c0f3f;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Small icon inside titles */
.timeline-title i {
    color: #F39C37;
    font-size: 1.4rem;
}

/* Description text */
.timeline-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 875px) {
    .timeline::before {
        left: 8px;
        transform: none;
        width: 3px;
        height: 100%;
    }

    .timeline-dot {
        top: 14px;
        left: 8px;
        transform: none;
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-width: 3px;
        box-shadow: 0 0 0 3px #0c0f3f;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    .timeline-content {
        width: 93% !important;
        margin: 0 0 0 20px !important;
        text-align: left !important;
        padding: 20px 20px 20px 30px;
        box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.05);
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        right: auto;
        left: 0;
        text-align: left;
        margin-left: 60px;
    }
}

@media (max-width: 480px) {
    .timeline-dot {
        width: 26px;
        height: 26px;
        font-size: 12px;
        border-width: 2px;
        top: 12px;
        left: 6px;
        box-shadow: 0 0 0 2px #0c0f3f;
    }

    .timeline-content {
        padding: 18px 15px 18px 25px !important;
    }

    .timeline-title {
        font-size: 1.12rem;
    }

    .timeline-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

.sticky-header {
    position: sticky;
    top: 120px;
}