/* html,
body {
    margin: 0 20px !important;
} */


.top-container-margin-30 {
    margin-top: 100px;
}

.bottom-container-margin-30 {
    margin-bottom: 30px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

#canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.content-box {
    text-align: justify;
    background: rgba(131, 115, 115, 0.08);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 1376px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.content-box h3 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.4;
    font-size: 2.2rem;
}

.content-box h5 {
    text-align: center;
    font-weight: 400;
    color: #cfd2ff;
    margin-bottom: 45px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.content-box p {
    color: #e0e0f0;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 16.5px;
}

.hero-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .content-box {
        padding: 30px 25px;
        margin-top: 100px;
    }

    .content-box h3 {
        font-size: 1.6rem;
    }

    .content-box h5 {
        font-size: 1rem;
    }
}

.CTA-btn {
    position: relative;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(103, 126, 234, 0.4);
}

.CTA-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 126, 234, 0.6);
}

.CTA-btn:active {
    transform: scale(0.98);
}

.CTA-btn:before,
.CTA-btn:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1000;
    background-repeat: no-repeat;
}

.CTA-btn:hover:before {
    top: -70%;
    background-image: radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, transparent 20%, #667eea 20%, transparent 30%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #667eea 15%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
        10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: topBubbles 0.6s ease;
}

@keyframes topBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
            40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
            50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
            50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.CTA-btn:hover::after {
    bottom: -70%;
    background-image: radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #667eea 15%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%),
        radial-gradient(circle, #667eea 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: bottomBubbles 0.6s ease;
}

@keyframes bottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
            70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
            105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
            110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.services-grid {
    max-width: 1376px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #cfd2ff;
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: transparent;
    background: rgba(131, 115, 115, 0.08);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;

}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(103, 126, 234, 0.3);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-content {
    padding: 35px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #cfd2ff;
    margin-bottom: 15px;
    text-align: center;
}

.service-description {
    font-size: 1rem;
    color: #e0e0f0;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 767px) {
    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 25px 20px;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-description {
        font-size: 0.938rem;
    }

    .section-header h2 {
        font-size: 1.8rem;

    }
    
    .services-grid {
        padding: 30px 25px;
        margin-top: 28px;
        margin-left: 8px;
    }

    .How-service-help {
        font-size: 1.8rem;
        padding: 30px 25px;
        margin-top: 28px;
        margin-left: 8px;
    }
}

.points {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(103, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 3px solid #667eea;
    transition: all 1.4s ease;
}

.points:hover {
    background: rgba(103, 126, 234, 0.1);
    transform: translateX(5px) !important;
}

.points span {
    margin-left: 15px;
    font-size: 15.5px;
    color: #e0e0f0;
    line-height: 1.6;
}

.points:nth-child(odd) {
    transform: translateX(30px);
}

.points:nth-child(even) {
    transform: translateX(-30px);
}

.points.show {
    opacity: 1;
    transform: translateX(0) !important;
    transition: all 0.8s ease;
}

.points.show:hover {
    transform: translateX(5px) !important;
    transition: all 0.3s ease;
}

.process-section {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-list {
    position: relative;
    list-style: none;
    padding-left: 40px;
}

.process-list::before {
    content: "";
    position: absolute;
    left: 49px;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, #627eff, #ff63d6);
    transition: height 1.5s ease;
}

.process-list li {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-dot {
    position: absolute;
    left: -6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a1d2e;
    border: 2px solid #627eff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    z-index: 2;
    transform: scale(0.6);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.process-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    padding: 18px 22px;
    border-radius: 14px;
    margin-left: 40px;
    width: 100%;
}

.process-list li.show {
    opacity: 1;
    transform: translateY(0);
}

.process-list li.show .process-dot {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 12px rgba(98, 126, 255, 0.9);
}

.process-list::before {
    height: var(--line-height, 0%);
}

.benefits-section {
    margin-top: 80px;
}

.section-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 35px;
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 320px) {
    .content-box h3 {
        font-size: 1.4rem;
    }
}

/* Redirecting to other Services animation */

#page-transition-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #0f1c3f, #050b1e);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#page-transition-overlay.active {
    opacity: 1;
}

.BackToHomePage {
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Premium Back Button */
.BackToHomePage {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e8ebff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    cursor: pointer;
    outline: none;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.BackToHomePage .arrow {
    font-size: 1.2rem;
    transition: transform 0.35s ease;
}

.BackToHomePage:hover {
    background: rgba(124, 124, 255, 0.18);
    border-color: rgba(124, 124, 255, 0.6);
    box-shadow: 0 8px 30px rgba(124, 124, 255, 0.35);
    transform: translateX(-4px);
}

.BackToHomePage:hover .arrow {
    transform: translateX(-6px);
}

.BackToHomePage:active {
    transform: scale(0.96);
    box-shadow: 0 4px 16px rgba(124, 124, 255, 0.25);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    font-size: 28px;
    color: #0ee5ff;
    transition: all 0.4s ease;
}

.service-card:hover .icon-box {
    background: #0d6efd;
    color: #fff;
    transform: rotate(360deg);
}

@media (max-width: 768px) {
    .BackToHomePage {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}