@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #001733;
    color: #fff;
}

body {
    background: #001733;
    font-family: "Poppins", sans-serif;
}

header video {
    position: absolute;
    top: 58%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    /* height: auto; */
    transform: translate(-50%, -50%);
    /* object-fit: cover; */
    /* z-index: 1; */
    /* opacity: 0.6; */
    /* padding: 5rem; */
    /* border-radius: 6rem; */
    /* filter: drop-shadow(0 0 80px #307a9b); */
}

source {
    border-radius: 4rem;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: left;
    top: 55%;
    transform: translateY(-51%);
    left: 6%;
    width: 50%;
}

.header-content h1 {
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
}

.header-content h5 {
    color: #ffe591;
}

.header-content p {
    font-size: 19px;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.transparent-nav {
    background: transparent !important;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.nav-link {
    color: rgb(255 255 255) !important;
    padding: 0 1rem !important;
}

.navbar {
    height: 5rem;
}

.navbar-brand img {
    height: 60px;
}

.btn-primary {
    background: linear-gradient(135deg, #2A82D9 0%, #5AD1E6 100%) !important;
}

.HeadingSection h2 {
    color: #fff;
    margin: 0rem 0 1rem;
    text-align: center;
    font-weight: 400;
    font-size: 3.3rem;
}

.Service {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.shape {
    position: absolute;
    content: "";
    height: 118%;
    width: 1200px;
    top: -45%;
    right: 0%;
    background: linear-gradient(4deg, rgb(255 255 255 / 3%) 0%, rgb(32 135 255 / 10%) 100%);
    border-radius: 100px 213px 100px 100px;
    transform: rotate(132deg);
}

.KeyDifferentInner {
    position: relative;
    z-index: 1;
}

.KeyDifferentgrrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 6rem 0 0;
}

.KeyDifferentbox {
    background-image: linear-gradient(127.77deg, #0e0f12 -11.73%, #24262d 50%, #0e0f12);
    background-position: 100% 100%;
    background-size: 200% 200%;
    border-radius: 20px;
    padding: 6rem 3rem;
    position: relative;
    text-align: center;
    transition: background-position .6s cubic-bezier(.25, .46, .45, .94);
}

.KeyDifferentIcon {}

.KeyDifferentIcon img {
    filter: invert(53%) sepia(41%) saturate(7341%) hue-rotate(184deg) brightness(101%) contrast(103%);
    height: 5.5rem;
}

.KeyDifferentbox h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .9px;
    line-height: 24px;
    margin: 14px auto 0;
    text-transform: uppercase;
    color: #fff;
}

.KeyDifferentbox p {
    color: #9cb0c2;
    font-size: 1.8rem;
    line-height: 2.6rem;
    margin: 16px auto 0;
}

.KeyDifferentbox:hover {
    background-position: 0 0;
}





.timeline-container-outer {
    height: 100vh;
    display: grid;
    place-items: center;
}

/* Timeline container styling */
.timeline-container {
    display: flex;
    gap: 33px;
    width: 100%;
    height: 212px;
    justify-content: center;
    font-weight: 500;
    font-size: 68px;
}

/* Individual timeline point styling */
.timeline-point {
    transition-duration: 0.5s;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #ececec);
    /*box-shadow: 13px 13px 40px #d0d0d0;*/
    display: grid;
    place-items: center;
    width: 215px;
    position: relative;
    color: var(--color);
    border: 2px dashed #fff;
}

.timeline-point img {
    height: 93px;
}

.timeline-point::before {
    content: "";
    width: 280px;
    height: 280px;
    z-index: -1;
    border-radius: 50%;
    position: absolute;
    background: conic-gradient(var(--color) var(--angle), transparent 0deg 360deg);
    animation: rotateBorder 1s linear var(--delay) forwards;
}

.timeline-point:nth-child(odd)::before {
    transform: rotate(-90deg);
}

.timeline-point:nth-child(even)::before {
    transform: rotate(90deg) scaleY(-1);
}

/* Custom property for angle */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Common styling for timeline points */
.timeline-point:nth-child(1) {
    --color: #013570;
    --delay: 0s;
}

.timeline-point:nth-child(1) .popup-details {
    --color: #f0f5fa;
}

.timeline-point:nth-child(2) {
    --color: #5AD1E6;
    --delay: 1s;
}

.timeline-point:nth-child(2) .popup-details {
    --color: #5AD1E6;
}

.timeline-point:nth-child(3) {
    --color: #ffe591;
    --delay: 2s;
}

.timeline-point:nth-child(3) .popup-details {
    --color: #ffe591;
}


/* Popup styling */
.popup {
    width: 400px;
    height: auto;
    max-height: 0;
    /* background-color: var(--color); */
    /* display: grid; */
    /* grid-template-columns: 18% 82%; */
    position: absolute;
    color: #727272;
    border-radius: 30px;
    /* box-shadow: 6.7px 6.7px 21.4px #17191d, -6.7px -6.7px 21.4px #212529; */
    transform-origin: bottom bottom;
    animation: expandPopup 0.5s linear calc(var(--delay) + 0.5s) forwards;
    text-align: center;
}

.timeline-point:nth-child(odd) .popup {
    bottom: 274px;
}

.timeline-point:nth-child(even) .popup {
    top: 274px;
}

.timeline-point:nth-child(even) .popup-title {
    padding: 19px 0 12px;
}


.popup-number {
    grid-row: span 2;
    /* display: grid ; */
    font-size: 2rem;
    font-weight: bold;
    place-items: center;
    cursor: auto;
    animation: fadeIn 0.5s linear calc(var(--delay) + 0.7s) forwards;
    opacity: 0;
    height: 41px;
    width: 41px;
    background: var(--color);
    line-height: initial;
    border-radius: 50px;
    color: #fff;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Popup title styling */
.popup-title {
    color: var(--color);
    padding-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
    line-height: 18px;
}

/* Popup details styling */
.popup-details {
    padding: 0 0 10px;
    /*background-color: #ffffff;*/
    /* border-radius: 30px; */
    opacity: 0;
    font-weight: 300;
    user-select: none;
    cursor: auto;
    overflow: hidden;
    font-size: 14px;
    text-align: center;
    /* background: linear-gradient(145deg, #16181b, #22262b); */
    margin: 0;
    animation: fadeIn 0.5s linear calc(var(--delay) + 0.7s) forwards;
    color: var(--color);
    line-height: initial;
}

.popup::before {
    content: "";
    width: 6px;
    height: 0;
    border-radius: 20px;
    background-color: var(--color);
    position: absolute;
    left: 50%;
    top: -41.9px;
    display: flex;
    animation: drawLine 0.5s linear infinite alternate;
    animation-delay: var(--delay);
}

.timeline-point:nth-child(odd) .popup:before {
    top: calc(100% + 31px);
    transform: rotateX(180deg);
    transform-origin: top;
    left: calc(50% - 2px);
}

.timeline-point:nth-child(even) .popup:before {
    top: calc(100% - 142px);
    transform: rotateX(180deg);
    transform-origin: top;
    left: calc(50% - 4px);
}

.timeline-point:nth-child(even) .popup-details {
    height: 102px;
}

.Empowering .customBtn:hover {
    transform: scale(1.03);
}

/* Hover effect for timeline points */
/*.timeline-point:hover {
background: linear-gradient(145deg, var(--color), #1e2125);
background: linear-gradient(145deg, var(--color), var(--color));
color: white;
}*/

.joinNow .HeadingSection p {
    font-size: 3rem;
    color: #b0c6da;
}

.joinNow .customBtn {
    margin: 5rem 0 0;
    height: 7rem;
    flex-direction: column;
    justify-content: center;
    font-size: 3rem;
    padding: 0 5rem;
    text-transform: uppercase;
}

/* Animation for border rotation */
@keyframes rotateBorder {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 180deg;
    }
}

/* Animation for popup expansion */
@keyframes expandPopup {
    0% {
        max-height: 0;
    }

    100% {
        max-height: 200px;
    }
}

/* Animation for line drawing */
@keyframes drawLine {
    0% {
        height: 0%;
        opacity: 0;
    }

    100% {
        height: 33.5px;
        opacity: 1;
    }
}

/* Animation for fade-in effect */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.profit-modern-card {
    border-radius: 22px;
    padding: 40px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    color: white;
}

.profit-title {
    font-weight: 400;
    font-size: 2rem;
    font-size: 2.7rem;
    color: #fff;
    margin: 0rem 0 2rem;
}

.modern-input {
    border-radius: 14px !important;
    padding: 14px 16px;
    border: 1px solid #e1e5ea;
    background: #fafbfd;
    transition: 0.25s ease;
}

.modern-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.btn-primary {
    padding: 14px;
    font-size: 1.1rem;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #0056da;
}

.modern-check .form-check-input {
    border-radius: 6px;
}

.profit-bg-section {
    position: relative;
    padding: 100px 0;
    min-height: 100vh;

    background-image: url('./asset/bg.jpg');
    /* 👉 replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay */
.profit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

/* Ensures form appears above overlay */
.profit-content-container {
    position: relative;
    z-index: 10;
}

/* Form Card */
.profit-modern-card {
    backdrop-filter: blur(12px);
}


@media (min-width:320px) and (max-width:767px) {
    .header-content h1 {
        font-size: 2rem;
    }

    .navbar-brand img {
        height: 29px;
    }


    .header-content {
        width: 90%;
        top: 41%;
    }

    .HeadingSection h2 {
        font-size: 2.3rem;
    }

    .profit-title {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 16px;
        margin-bottom: 1rem;
    }

    .timeline-container {
        padding: 0px 0px;
    }

    .timeline-container-outer {
        height: initial;
        margin: 7rem 0;
    }

    .timeline-point:nth-child(odd) .popup,
    .timeline-point:nth-child(even) .popup {
        display: flex;
        align-items: center;
    }

    .popup-number {
        position: initial;
        order: 1;
        min-width: 3rem;
        min-height: 3rem;
    }

    .popup-number {
        position: initial;
        order: 1;
        min-width: 3rem;
        min-height: 3rem;
    }

    .Service,
    .profit-bg-section {
        padding: 4rem 0
    }
}

@media (max-width: 1050px) {

    .timeline-container {
        flex-direction: column;
        width: 320px;
        padding: 2rem 0px;
        gap: 10px;
        font-size: 40px;
    }

    .timeline-point {
        height: 94px;
        flex-shrink: 0;
        /* left: calc(-222px / 2); */
        position: relative;
        width: 94px;
    }

    .timeline-point::before {
        width: 112px;
        height: 112px;
    }

    .timeline-point:nth-child(odd)::before {
        transform: rotate(0deg);
    }

    .timeline-point:nth-child(even)::before {
        transform: rotate(0deg) scaleX(-1);
    }

    .timeline-point .popup:before {
        display: none;
    }

    .popup {
        width: 212px;
    }

    .timeline-point:nth-child(odd) .popup {
        bottom: auto;
        right: -232px;
    }

    .timeline-point:nth-child(even) .popup {
        top: initial;
        right: -232px;
    }

    .popup-number {
        position: absolute;
        top: 17%;
        height: 30px;
        width: 30px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .popup-details {
        padding: 0 0 0 62px;
        text-align: left;
        font-size: 8px;
    }

    .timeline-point:nth-child(even) .popup-details {
        height: auto;
    }

    .popup-title {
        font-size: 16px;
        line-height: 13px;
        padding-bottom: 6px;
    }

    .timeline-point:nth-child(even) .popup-title {
        padding: 0 0 6px;
    }

    .timeline-point img {
        height: 44px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .HeadingSection h2 {
        font-size: 2.3rem;
    }

    .profit-bg-section {
        position: relative;
        padding: 3rem 0;
    }

    .popup-details {
        padding: 0 0 0 43px;
    }

    .header-content h1 {
        font-size: 3rem;
    }

    .header-content {
        top: 45%;
        width: 90%;
    }

    .timeline-container-outer {
        height: auto;
    }

    .timeline-container-outer {
        margin-top: 5rem;
    }
}

@media (min-width: 320px) and (max-width: 425px) {
    header video {
        top: 42%;
    }


}

@media (min-width: 320px) and (max-width: 992px) {
    .navbar-collapse.show {
        right: 0;
    }

    .navbar-collapse {
        /* position: fixed; */
        top: 70px;
        right: -100%;
        backdrop-filter: saturate(180%) blur(10px);
        padding: 1rem;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        display: block;
        background: rgba(255, 255, 255, .9);
        width: 200px;
        border: 1px solid rgb(43, 29, 106, .3);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-link {
        color: rgb(44 43 43) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .header-content h1 {
        font-size: 4rem;
    }

    .timeline-container-outer {
        height: 60vh;
    }

    .popup-details {
        padding: 0 0 0 45px
    }
}

@media only screen and (min-width: 1800px) {}

@media only screen and (min-width: 2400px) {

    .navbar {
        height: 13rem;
    }

    .navbar-brand img {
        height: 136px;
    }

    .nav-link {
        font-size: 28px;
    }

    .header-content {
        top: 56%;
        transform: translateY(-51%);
        left: 10%;
        width: 29%;
    }

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 2100px !important;
    }

    .header-content p {
        font-size: 24px;
    }

    p {
        font-size: 20px;
    }

    .timeline-container-outer {
        height: 77vh;
    }

    .profit-bg-section {
        position: relative;
        min-height: 81vh;
    }

    .popup-details {

        font-size: 20px;
    }

    .popup-title {
        padding-bottom: 16px;
        font-size: 37px;
        line-height: 39px;
    }

    .timeline-point:nth-child(even) .popup-details {
        height: auto;
    }

    .timeline-point:nth-child(odd) .popup {
        bottom: 301px;
    }

    .form-label {
        font-size: 23px;
    }

    .form-check {

        font-size: 20px;
    }

    .small,
    small {
        font-size: 1.3em;
    }

    .profit-title {
        font-size: 3.7rem;
    }

    .HeadingSection h2 {

        font-size: 4.3rem;
    }
}