/* Showcase */
section#showcase {
    background-image: url('/static/images/test.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh; 
    max-width: 100vw;
}

#showcase, #showcase h1, #showcase h3, #showcase-text, #showcase a {
    opacity: 0;
    animation: 0.8s slidefade 0.3s forwards;
}

@keyframes slidefade {
    100% {
        opacity: 1;
    }
}

#showcase h1,
#showcase h3 {
    color: #1D5074;
}

section#showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
}

#showcase-text {
    background: rgba(255, 255, 255, 0.7); 
    width: 80%;
    padding: 2rem;
    border-radius: 8px;
    z-index: 2;
    position: relative;
    text-align: center;
}

#showcase-text p {
    text-align: center;
    margin: 20px;
    color: black;
}

#showcase-text .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

#showcase-text .btn-home {
    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

/* Glowing effect */
#showcase-text .btn-home:before {
    content: "";
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-button-85 20s linear infinite;
    border-radius: 10px;
}

@keyframes glowing-button-85 {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

#showcase-text .btn-home:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #222;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@media (max-width: 768px) {
    section#showcase {
        width: 100%;
        aspect-ratio: 1 / 1;   
        height: auto;          
        min-height: auto !important; 
    }

    #showcase-text {
        width: 90%;
        padding: 1.5rem;
    }

    #showcase-text h1 {
        font-size: 1.8rem;
    }

    #showcase-text h3 {
        font-size: 1rem;
    }

    #showcase-text .btn-home {
        font-size: 14px;
        padding: 0.5em 1.5em;
    }
}

/* Benefits */
section#benefits {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 20px;
}

#benefits h1.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#benefits .grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; 
    max-width: 1800px;
    margin: 0 auto;
}

#benefits-list {
    flex: 1 1 45%;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#benefits-list ul {
    padding: 0;
    list-style: none;
}

#benefits-list li {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

#benefits-list li i {
    color: #1D5074;
    font-size: 22px;
}

#benefits-image {
    flex: 1 1 45%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    border-radius: 50%;
}

.circle-wrapper::before,
.circle-wrapper::after {
   content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    z-index: 0;
    transition: background 0.6s ease-in-out; 
}

.circle-wrapper::before {
    background: conic-gradient(
        #1D5074 0deg 60deg, 
        transparent 60deg 360deg
    );
  animation: rotate-border 4s linear infinite;
}

.circle-wrapper::after {
        background: conic-gradient(
            transparent 0deg 180deg,
        #2187e7 180deg 240deg,
        transparent 240deg 0deg
        
    );
  animation: rotate-border 4s linear infinite;
}

.circle-wrapper img {
    position: relative;
    z-index: 1;
    object-fit: cover;
    border-radius: 50%;
    width: 320px;
    height: 320px;
    display: block;
}

@keyframes rotate-border {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.circle-wrapper:hover::before {
    background: conic-gradient(#1D5074, #2187e7);
}

.circle-wrapper:hover::after {
    background: conic-gradient(#2187e7, #1D5074);
}

#add-solution hr,
#benefits hr {
    margin: 30px auto; 
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #1D5074;
    color: #fff;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background-color: #163d58;
}

@media (max-width: 768px) {
    #benefits .grid {
        flex-direction: column;
        text-align: center;
    }

    #benefits-list {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .circle-wrapper {
        width: 230px;
        height: 230px;
    }

    .circle-wrapper::before,
    .circle-wrapper::after {
        width: 230px;  
        height: 230px;
    }

    .circle-wrapper img {
        margin: 10px;
        width: 210px;
        height: 210px;
    }
}

@media (min-width: 1800px) {
    .circle-wrapper {
        width: 440px;   
        height: 440px;
    }

    .circle-wrapper::before,
    .circle-wrapper::after {
        width: 460px;   
        height: 460px;
    }

    .circle-wrapper img {
        width: 420px;
        height: 420px;
        margin: 10px;
    }

    #benefits .grid {
        flex-direction: row; 
        text-align: left;
        gap: 50px;
    }

    #benefits-list {
        margin-bottom: 10px;
        flex: 1 1 50%;   
        padding: 50px;  
        font-size: 25px; 
    }

    #benefits-list li {
        font-size: 25px; 
    }

    #benefits-list li i {
        font-size: 26px; 
    }
}


/* Offer Solutions */
section#offers {
    background: linear-gradient(135deg, #f9fafb, #f3f3f3);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.role-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; 
    gap: 60px;
}

.circle-text {
    background-color: #fff;
    border: 6px solid #1D5074;
    border-radius: 50%;
    width: 260px;
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: #1D5074;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.circle-text:hover {
    transform: scale(1.05);
}

.wrapper {
    position: relative;
    width: 340px; 
    height: 340px;
    flex-shrink: 0; 
}

.ball {
    background-color: rgba(0,0,0,0);
    border: 10px solid rgba(33, 135, 231, 0.5);
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 100%;
    width: 340px;
    height: 340px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    animation: spin-clockwise 3s infinite linear;
}

.ball1 {
    background-color: rgba(0,0,0,0);
    border: 7px solid rgba(33, 135, 231, 0.2);
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 100%;
    width: 300px;
    height: 300px;
    top: 20px;
    left: 20px;
    position: absolute;
    margin: 0 auto;
    animation: spin-counterclockwise 3.2s infinite linear;
}

.ball2 {
    margin: 0 auto;
    position: relative;
    top: -290px;
    background-color: rgba(0,0,0,0);
    background-image: url("https://image.flaticon.com/icons/svg/744/744104.svg");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    box-shadow: 0 0 10px #2187e7;
    width: 260px;
    height: 260px;
    top: 40px;
    left: 40px;
    position: absolute;

}

@keyframes spin-clockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    };
}

@keyframes spin-counterclockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    };
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.list-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-item:hover {
    transform: translateX(8px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.08);
}

.list-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fff7e6, #fff3d6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #f59e0b;
    margin-right: 15px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
}

.list-item-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
     text-align: left;
}

@media(max-width: 768px) {
    .circle-text {
        width: 200px;
        height: 200px;
        font-size: 16px;
    }

    .role-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .wrapper {
        width: 260px;
        height: 260px;
    }
    .ball {
        width: 260px;
        height: 260px;
    }
    .ball1 {
        width: 220px;
        height: 220px;
        top: 20px;
        left: 20px;
    }
    .ball2 {
        width: 200px;
        height: 200px;
        top: 30px;
        left: 30px;
    }
}

/* Solution get */
section#add-solution {
background: linear-gradient(135deg, #d6e6f2, #f0f8ff);
}

#add-solution .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.module-promo {
    background: #fff;
    border-radius: 50px 0 50px 0; 
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    min-height: 150px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    position: relative;
}

.module-promo:nth-child(odd) {
    margin-top: 0;
}

.module-promo:nth-child(even) {
    margin-top: 100px; 
}

.module-promo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.module-promo img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.module-promo:hover img {
    transform: scale(1.1);
}

.module-caption {
    font-size: 22px;
    font-weight: 700;
    color: #1D5074;
    line-height: 1.4;
    max-width: 280px;
}

.promo-card {
    background: #fff; 
    border-radius: 50px 0 50px 0;
    padding: 30px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1D5074;
}

.col-md-3:nth-child(even) .promo-card {
    margin-top: 40px;
}

.promo-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, #ff9a9e, #fadad1);
    z-index: 0;
    transition: left 0.6s ease;
}

.promo-card:hover::before {
    left: 0; 
}

.promo-card * {
    position: relative;
    z-index: 1; 
}

.promo-card:hover {
    background-position: left center;
    color: #000000 !important;
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.promo-img {
    width: 150px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.promo-card:hover .promo-img {
    transform: scale(1.1);
}

.promo-card * {
    transition: color 0.3s ease;
}

.promo-card:hover * {
    color: #000000 !important; 
}

.module-caption {
    font-size: 20px;
    font-weight: 700;
    color: #1D5074;
    line-height: 1.4;
    max-width: 250px;
}

@media (max-width: 767px) {
    #add-solution .grid {
        grid-template-columns: 1fr;
    }

    .module-promo:nth-child(even) {
        margin-top: 0;
    }

    .col-md-3:nth-child(even) .promo-card {
        margin-top: 0; 
    }
}

/* Contact Section */
section#contact {
    background: linear-gradient(135deg, #d6e6f2, #f0f8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40vh;
    padding: 50px 20px;
}

.contact-container {
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1.5s ease forwards;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1D5074;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-number span {
    color: #1D5074;
    font-weight: 900;
    font-size: 2.2rem;
    display: inline-block;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#contact a.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    color: #fff;
    background-color: #1D5074;
    border: none;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(29,80,116,0.3);
    position: relative;
    overflow: hidden;
    animation: pulse 1.5s infinite;
    transition: all 0.3s ease;
}

#contact a.btn i {
    font-size: 1.2rem;
}

#contact a.btn:hover {
    background-color: #bd1e51;
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29,80,116,0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(29,80,116,0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29,80,116,0);
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 1.8rem;
    }
    .contact-number span {
        font-size: 1.8rem;
        padding: 8px 16px;
    }
}

section#customize{
    background: #fff
}

.scrolling-banner {
    width: 100%;
    background: #1D5074; 
    color: white;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    padding: 15px 0;
    position: relative;
}

.scrolling-content {
    display: inline-block;
    animation: scroll-left 15s linear infinite;
}

.scrolling-content span {
    margin: 0 50px; 
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.timeline-steps .timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem
}

@media (min-width:768px) {
    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: .3rem dotted #3b82f6;
        width: 4.5rem;
        position: absolute;
        left: 9.05rem;
        top: 2.6rem
    }
    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: .3rem dotted #3b82f6;
        width: 4.5rem;
        position: absolute;
        right: 9.05rem;
        top: 2.6rem
    }
}

.timeline-steps .timeline-content {
    width: 15rem;
    text-align: center
}

.timeline-steps .timeline-content .inner-circle i{
    font-size: 2rem;
}

.timeline-steps .timeline-content .inner-circle {
    border-radius: 50%;
    height: 5.5rem;
    width: 5.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6;
    color: #fff; 
    font-size: 1.2rem; 
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-steps .timeline-content .inner-circle:hover {
    transform: scale(1.2);
}

.timeline-steps .timeline-content .inner-circle:before {
    content: "";
    background-color: #3b82f6;
    display: inline-block;
    height: 6.5rem;
    width: 6.5rem;
    border-radius: 50%;
    opacity: 0.2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 1800px) {
    .timeline-steps {
        width: 100%;
    }

    .timeline-steps .timeline-content {
        width: 16rem;
    }

    .timeline-steps .timeline-content .inner-circle {
        height: 8rem;
        width: 8rem;
        font-size: 2rem;
    }

    .timeline-steps .timeline-content .inner-circle:before {
        height: 10rem;
        width: 10rem;
    }

    .timeline-steps .timeline-step:not(:last-child):after {
        width: 4.1rem;
        left: 14.5rem;
        top: 4rem;
        border-top: 0.5rem dotted #3b82f6;
    }

    .timeline-steps .timeline-step:not(:first-child):before {
        width: 4.1rem;
        right: 14.5rem;
        top: 4rem;
        border-top: 0.5rem dotted #3b82f6;
    }

    .timeline-content p.h6 {
        font-size: 1.75rem; 
    }

    .timeline-content p.small {
        font-size: 1.25rem; 
    }

    .timeline-steps .timeline-content .inner-circle i{
        font-size: 3.5rem;
    }
}