@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');
:root{
    --main-color: #c7e010;
    --second-color: #C11C43;
    --third-color: #1e212d;
    --light-red: #C11C4359;
    --light-pink: #FFC2D0;
    --text-color: #000;
    --white-color: #fff;
    --grey-color: #898690;
}
body{
    background-color: #f2f2f2;  
}
.banner{
    background: radial-gradient(circle at 10% 10%, rgba(6, 59, 92, .9) 1%, transparent 30%), radial-gradient(circle at 90% 80%, rgba(254, 122, 54, .3) 1%, transparent 40%), #212121;
    background-color: hsla(0, 3%, 6%, .954);
    background-repeat: no-repeat;
}
.first-section{
    display: grid;
    grid-template-columns: 60% 39%;
    margin: auto;
    padding-top: 90px;
    grid-gap: 10px;
    gap: 10px;
    justify-content: space-between;
    padding-bottom: 10px;
}
.width {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.first-section h1{
    color: var(--white-color);
    font-size: 2.2rem;
    animation: fadeup 2s;
}
@keyframes fadeup{
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

.first-section span{
    background: linear-gradient(90deg, #fe7a36 23.18%, #ffc436 65.33%);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 125%;
    letter-spacing: .55px;
    color: transparent;
}

.section-left{
    animation: fadeup 1s;
    color: #fff;
}

.section-right{
    animation: fadeup 2s;
    margin-top: 80px;
}

.section-left p img{
    width: 30px;
}

.section-left p{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    line-height: 25px;
}

.text-container{
    position: relative;
    width: 100%;
    height: 200px; /* Adjust height based on the total height of two texts */
    overflow: hidden;
    text-align: left;
}

.text-group {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    width: 100%;
    top: 0;
    left: 0;
    transform: translateY(50px); /* Slight downward animation for entry */
}

.text-group.active {
    opacity: 1;
    transform: translateY(0); 
}
.card {
    width: 250px;
    height: 280px; 
    margin: 0 10px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    align-items: center;
    font-size: 2em;
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.6;
    cursor: pointer;
    filter: drop-shadow(0px 10px 4px rgba(0, 0, 0, 0.5));
    background-color: #212121; 
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-container{
    padding: 10px; 
    text-align: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.overlay {
    width: 90%;
    position: absolute;
    top: 0px;
    /* background-color: transparent; */
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 10px 10px;
     box-shadow: 0 5px 10px rgba(255, 255, 255, 0.5);
}

.overlay h3,
.overlay h2 {
    color: var(--main-color);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    margin: 0;
    background: linear-gradient(90deg, #fe7a36 23.18%, #ffc436 65.33%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.overlay h3::first-letter {
    font-size: 24px;    
    transition: font-size 0.3s ease-in-out;    
}

.card:not(.active) .overlay h3::first-letter {
    font-size: 24px;    
}

.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
   
    object-fit: cover;
}

.content-container p {
    font-size: 0.8rem;
    margin: 5px 0;
    color: #ccc;
}

.content-container button {
    background-color: var(--main-color, #c7e010);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.content-container button:hover {
    background-color: var(--second-color, #C11C43);
    color: #fff;
}

.card.active {
    transform: scale(1.4);
    z-index: 3;
    opacity: 1;
}

.card.next{
    transform: translateX(220px) scale(1);
    z-index: 2;
    opacity: 1;
}
.card.prev {
    transform: translateX(20px) scale(1);
    z-index: 1;
    opacity: 0.8;
}

.flex-card {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.flex-img {
    display: flex;
    align-items: center;
    margin-right: 10px; 
}

.flex-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    animation: scroll 20s linear infinite;
}

.flex-img {
    width: 100px; 
    height: 100%;
    margin-right: 20px; 
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.logo {
    width: 60px; 
    height: auto; 
}

.line {
    width: 2px; 
    height: 20px; 
    margin-left: 10px; 
    background: var(--main-color);
}


/*************************Display Animated Domans**********/
.display-domains {
    text-align: center;
    background: #fff;
    padding: 80px 0 0 0;
}
.display-container {
    width: 80%;
    border-radius: 40px;
    background: #d1eaf8;
    margin: 0px auto;
    padding: 36px 0;
}
.display-heading h2 {
    width: 70%;
    margin: 0 auto;
    font-size: 2.5rem;
    color: #606060;
}
.display-heading span {
    color: #0059ff;
}
.dispalay-item1, .display-item2 {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    width: 100%; 
}
.dispalay-item1 .slider, .display-item2 .slider {
    display: inline-flex;
    gap: 10px;
    position: relative;
}
.dispalay-item1 .img, .display-item2 .img {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 20px;
}
.dispalay-item1 .img img, .display-item2 .img img {
    width: 30px;
}


/*******************About section*************************/
#about{
    margin: 50px auto;
    background: var(--third-color);
    padding: 100px 0;
}

.about{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    color: var(--white-color);
}

.headings{
    font-size: 3rem;
    font-weight: 800;
    margin: 10px 0;
}

.about-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-grid-item .num{
    font-weight: 800;
    font-size: 3rem;
    color: var(--text-color);
    margin: 5px;
    text-shadow: 0 8px 6px rgba(199, 224, 16, 0.5);
    color: var(--main-color);
}

.exp-btn{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.btn {
    width: 160px;
    background-color: var(--main-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease-in-out;
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 0px 10px rgba(199, 224, 16, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn:hover {
    color: var(--third-color);
    transform: translateY(-5px);
}

.btn:active {
    transform: scale(0.8);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%; 
    height: 300%; 
    background: rgba(255, 255, 255, 0.3); 
    border-radius: 50%; 
    transform: translate(-50%, -50%) scale(0); 
    transition: transform 0.6s ease-out; 
}

.btn:active::after {
    transform: translate(-50%, -50%) scale(1); 
}

.btn img{
    transition: all 0.3s ease-in-out;
}

.btn:hover img{
    transform: rotate(15deg);
}

/*******************Roadmap section*************************/
.path { 
    stroke-dasharray: 1000; 
    stroke-dashoffset: 1000; 
    animation: dash 3s linear forwards; 
    animation-iteration-count: 1;
    animation-delay: 1s;
}
@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}
.dashed{
  stroke-dasharray: 5,12;
  
}
#arrow{animation: arrow 2s linear forwards; opacity:0;}
@keyframes arrow {
  to {
    opacity: 1;
  }
}
.ifrm{
    border:none; 
    width:600px;
}

.graph__wrapper svg{
    width: 315px;
    height: 107px;
}

.roadmap{
    width: 100%;
    margin: 0px auto;
}
.roadmap h1{
    text-align: center;
    margin-top: 30px;
}

.roadmap h1 span{
    background: var(--main-color);
    padding: 5px;
    border-radius: 5px;
}

.roadmap-container{
    display: none;
}

.roadmap-content {
    --color: rgba(30, 30, 30);
    --bgColor: rgba(245, 245, 245);
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 2rem;
    padding: 2rem;
    color: var(--color);
    background: var(--bgColor);
}

.roadmap-content h1 {
    text-align: center;
}

.roadmap-content ul {
    display: flex;
    flex-direction: column;
    position: relative;
    width: min(60rem, 90%);
    margin: auto;
    padding: 2rem 0;
}

.roadmap-content ul::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 5px;
    height: 100%;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.roadmap-content ul li {
    width: 50%;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    margin: 2rem 0;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.roadmap-content ul li.left {
    align-self: flex-start;
    transform: translateX(-50px);
}

.roadmap-content ul li.right {
    align-self: flex-end;
    transform: translateX(50px);
}

.roadmap-content ul li.visible {
    opacity: 1;
    transform: translateX(0);
}

.roadmap-content ul li .date {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}

.roadmap-content ul li .content-box {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.roadmap-content ul li .content-box img {
    width: 200px;
    margin-bottom: 10px;
}

/* Add animation styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roadmap-content ul li:nth-child(odd) {
    background-image: linear-gradient(135deg, #09203f 10%, #537895 100%);
    color: #fff;
    border: 1px solid var(--main-color);
}
.roadmap-content ul li:nth-child(even) {
    background-image: linear-gradient(135deg, #3B2667 10%, #BC78EC 100%);
    color: #fff;
    border: 1px solid var(--main-color);
}


@media (min-width: 40rem) {
    .roadmap-content ul {
        grid-template-columns: 1fr var(--line-w) 1fr;
    }
    .roadmap-content ul::before {
        grid-column: 2;
    }
    .roadmap-content ul li:nth-child(odd) {
        grid-column: 1;
        background-image: linear-gradient(135deg, #09203f 10%, #537895 100%);
        color: #fff;
        border: 1px solid var(--main-color);
    }
    .roadmap-content ul li:nth-child(even) {
        grid-column: 3;
        background-image: linear-gradient(135deg, #3B2667 10%, #BC78EC 100%);
        color: #fff;
        border: 1px solid var(--main-color);
    }

    /* start second card */
    .roadmap-content ul li:nth-child(2) {
        grid-row: 2/4;
    }

    .roadmap-content ul li:nth-child(odd) .date::before {
        clip-path: polygon(0 0, 100% 0, 100% 100%);
        left: 0;
    }

    .roadmap-content ul li:nth-child(odd) .date::after {
        transform: translate(-50%, -50%);
        left: calc(100% + var(--col-gap) + var(--line-w) / 2);
    }
    .roadmap-content ul li:nth-child(odd) .date {
        border-radius: 0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0;
    }
}

.credits {
    margin-top: 1rem;
    text-align: right;
}
.credits a {
    color: var(--color);
}



/******************Subscribe**********************/
#subscribe{
    width: 80%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 15px;
    border: 2px solid var(--third-color);
}

#subscribe .left{
    background-color: var(--third-color);
    color: #fff;
    padding: 30px;
    text-align: center;
    display: block;
    justify-content: center;
    align-items: center;
}

.flex-btn{
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.cnt-btn{
    background-color: #ccc;
}

.flex-btn a{
    cursor: pointer;
}

#subscribe .right{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
#subscribe img{
    width: 30%;
}

.subscribe {
    position: relative;
    height: 100px;
    width: 350px;
    padding: 20px;
    background-color: #FFF;
    border-radius: 4px;
    color: #333;
    box-shadow: 0px 0px 60px 5px rgba(0, 0, 0, 0.4);
}

.subscribe:after {
    position: absolute;
    content: "";
    right: -10px;
    bottom: 18px;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #e3161e;
}

.subscribe h1{
    margin: 0;
}

.subscribe p {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 4px;
    line-height: 28px;
}

.subscribe input {
    position: absolute;
    bottom: 30px;
    border: none;
    border-bottom: 1px solid #d4d4d4;
    padding: 10px;
    width: 82%;
    background: transparent;
    transition: all .25s ease;
}

.subscribe input:focus {
    outline: none;
    border-bottom: 1px solid var(--main-color);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', 'sans-serif';
}

.subscribe .submit-btn {
    position: absolute;
    border-radius: 30px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    background-color: #e3161e;
    color: var(--white-color);
    padding: 12px 40px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
    right: -10px;
    bottom: -20px;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: -5px 6px 20px 0px rgba(26, 26, 26, 0.4);
    border: none;
}

.subscribe .submit-btn:hover {
    background-color: var(--second-color);
    box-shadow: -5px 6px 20px 0px rgba(88, 88, 88, 0.569);
    color: var(--white-color);
}

/* Popup Container */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Popup Content */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    color: #000;
}

/* Close Button */
.close-btn {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

/******************Why Choose Us*******************************/
.abt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.main-heading {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 2rem;
    color: var(--main-color);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/**********************Responsive design***************************/

@media (max-width: 1200px) {
    .first-section h1 {
        font-size: 2rem;
    }
    .section-left {
        margin-top: -70px;
    }
    .card{
        margin: 20px;
        width: 180px;
        height: 200px;
    }
    .card.next {
        transform: translateX(150px) scale(1);
    }
    .content-container button{
        padding: 10px;
        font-size: 0.7rem;
    }
    .graph__wrapper svg{
        width: 215px;
        height: 107px;
    }
    .roadmap h1 {
        text-align: center;
        margin-top: 10px;
    }
    .card-1 {
        margin-left: 2%;
    }
    .card-5 {
        margin-right: 2%;
    }
    .roadmap-content{
        margin: 100px auto;
    }
    .about{
        width: 90%;
    }
    .about-img{
        width: 100%;
    }
    .about-img img{
        width: 100%;
    }
    #subscribe {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
    }
    #subscribe .right {
        width: 70%;
        margin-left: 15%;
        padding: 50px 0;
    }
    .features-grid {
        width: 80%;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .first-section{
        grid-template-columns: repeat(1, 1fr);
    }
    .first-section h1 {
        font-size: 1.3rem;
    }
    .section-right{
        display: none;
    }
    .card {
        margin: 20px;
        width: 180px;
        height: 200px;
        margin-top: 80px;
        margin-left: 32%;
    }
    .card.prev {
        transform: translateX(-150px) scale(1);
        z-index: 1;
        opacity: 1;
    }
    .roadmap-content {
        margin: 10px auto;
    }
    .roadmap h1 {
        width: 90%;
        margin: 0 auto;
    }
    .about{
        flex-direction: column;
    }
    .about-img {
        width: 80%;
        margin: 0 auto;
    }
    .about-content{
        width: 80%;
        margin: 0 auto;
    }
   
    .display-heading h2 {
        width: 90%;
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
    .first-section {
        padding-top: 150px;
    }
    .card.prev {
        transform: translateX(-60px) scale(1);
    }
    .card.next {
        transform: translateX(60px) scale(1);
    }
    .card.active {
        transform: scale(1.2);
    }
    .card{
        margin-left: 20%;
    }
    #about{
        margin: 0px auto;
    }
    .about-img {
        width: 95%;
    }
    .headings {
        font-size: 2rem;
    }
    .about-content{
        width: 95%;
    }
    .about-content h2{
        font-size: 1.2rem;
    }
    #subscribe .right {
        flex-direction: column;
        margin-left: 0%;
        width: 100%;
    }
    .subscribe {
        width: 300px;
    }
    .features-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .flex-btn{
        flex-direction: column;
    }
    .roadmap h1 {
        font-size: 1.2rem;
    }
    .roadmap-header h1 {
        font-size: 20px;
        margin-top: -20px;
    }
    .abt-container{
        padding-top: 0;
    }
    .main-heading{
        font-size: 2rem;
    }
    .get-latest{
        margin-left: 5%;
    }   
    .dispalay-item1 .img, .display-item2 .img{
        font-size: 15px;
    }
    .dispalay-item1 .img img, .display-item2 .img img {
        width: 20px;
    }
    .roadmap-content ul li .content-box{
        flex-direction: column;
    }
}

@media (max-width: 376px) {
    .get-latest h1{
        width: 80%;
        font-size: 1.5rem;
    }
    .subscribe {
        width: 260px;
    }
}