:root {
    --primary: #1f0159;
    --primary-light: #3a0f8f;
    --secondary: #5c2cde;
    --accent: #ff6b6b;
    --light: #f5f7ff;
    --dark: #2d2d2d;
    --gray: #e9e9e9;
    --shadow: 0 4px 12px rgba(31, 1, 89, 0.15);
    --transition: all 0.3s ease;
}


footer {
    position: relative;
    background: linear-gradient(135deg, #1f0159, #1f0159);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.wave-container {
    position: absolute;
    width: 100%;
    top: -100px;
    left: 0;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, 0.5)" d="M0,192L48,176C96,160,192,128,288,122.7C384,117,480,139,576,149.3C672,160,768,160,864,138.7C960,117,1056,75,1152,64C1248,53,1344,75,1392,85.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: repeat-x;
    animation: wave 25s linear infinite;
}

.wave-2 {
    top: 10px;
    opacity: 0.5;
    animation: wave-2 20s linear infinite;
}

.wave-3 {
    top: 20px;
    opacity: 0.2;
    animation: wave-3 15s linear infinite;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* padding: 4rem 5% 0rem; */
    padding: 4rem 4rem 1rem 4rem;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    max-width: 350px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section.active {
    opacity: 1;
    transform: translateY(0);
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    color:#fff;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.5s ease;
}

.footer-section:hover h3::after {
    width: 80px;
}

.footer-section p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4rem;
    margin: 0;
    color: #fff;
}

.footer-links li {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2rem;
    list-style: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -5px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(-15px);
}

.social-icons {
    display: flex;
    gap: 6px;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Facebook */
.social-icons a:nth-child(1):hover {
    background: #3b5998;
}

/* Twitter/X */
.social-icons a:nth-child(2):hover {
    background: #1da1f2;
}

/* Instagram */
.social-icons a:nth-child(3):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* LinkedIn */
.social-icons a:nth-child(4):hover {
    background: #0077b5;
}

/* YouTube */
.social-icons a:nth-child(5):hover {
    background: #ff0000;
}

/* Pinterest */
.social-icons a:nth-child(6):hover {
    background: #bd081c;
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.social-icons a:hover::before {
    transform: scale(2);
    opacity: 0;
}

.social-icons a:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover:after {
    transform: scale(1.3);
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
}

.social-icons i {
    font-size: 14px;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-icons a:hover i {
    transform: rotate(360deg) scale(1.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info a {
    text-decoration: none;
}

.contact-info p {
    font-size: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-right: 8px;
    font-size: 14px;
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    min-width: 150px;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter input:focus {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter button {
    background: white;
    color: #1a2a6c;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.newsletter button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff00cc, #333399, #00ccff, #33cc33, #ffcc00);
    background-size: 400% 400%;
    z-index: -1;
    transition: all 0.5s ease;
    transform: translateY(100%);
    border-radius: 30px;
    opacity: 0;
}

.newsletter button:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.newsletter button:hover::before {
    transform: translateY(0);
    animation: gradientAnimation 3s ease infinite;
    opacity: 1;
}

.working-hours {
    margin-top: 1.5rem;
}

.working-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.working-hours p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.working-hours i {
    margin-right: 8px;
}

.support-button {
    margin-top: 1.5rem;
}

.support-link {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.support-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Services Section - Moved out and styled separately */
.services-section {
    padding: 2rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff00cc, #333399, #00ccff, #33cc33, #ffcc00);
    background-size: 400% 400%;
    z-index: -1;
    transition: all 0.5s ease;
    transform: translateY(100%);
    border-radius: 30px;
    opacity: 0;
}

.service-btn:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-btn:hover::before {
    transform: translateY(0);
    animation: gradientAnimation 3s ease infinite;
    opacity: 1;
}

.service-btn i {
    margin-right: 6px;
}



/* Updated Footer Bottom - Now only contains copyright */
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 5s linear infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes wave-2 {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

@keyframes wave-3 {
    0% {
        transform: translateX(-35%);
    }

    100% {
        transform: translateX(15%);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        padding: 20px 10px;
    }

    .footer-section {
        max-width: 100%;
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Back to top button */
.back-to-top {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2a6c;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Glowing dots */
.glow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.glow {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Scroll Up Button */
.scroll-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.scroll-up-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-up-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.scroll-up-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradientBG 6s ease infinite;
    z-index: -1;
    transition: all 0.4s ease;
}

.scroll-up-btn:hover::before {
    filter: brightness(1.3);
}

.scroll-up-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0);
    transition: all 0.5s ease;
}

.scroll-up-btn:hover::after {
    transform: scale(1.5);
    opacity: 0;
}

.scroll-up-btn i {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.scroll-up-btn:hover i {
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
}

.hero-image {
    width: 45%;
    animation: float 3s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-20px);
    }
}

.clients-section {
    padding: 5rem 0;
    background-color: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.client-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.client-card:hover::before {
    opacity: 0.9;
}

.client-card img {
    width: 100%;
    max-width: 100px;
    height: auto;
    transition: var(--transition);
    z-index: 2;
    position: relative;
}

.client-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    color: white;
    text-align: center;
    transition: var(--transition);
    z-index: 2;
}

.client-info h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.client-info p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.client-card:hover .client-info {
    bottom: -40px;
}

.client-card:hover img {
    transform: translateY(-20px);
}

.float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(31, 1, 89, 0.3);
    transition: var(--transition);
    z-index: 100;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(31, 1, 89, 0.4);
}

.float-btn i {
    font-size: 24px;
}

.section-title {
    text-align: center;
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: 27px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        width: 70%;
        margin-bottom: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .client-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .services-row {
        gap: 0.5rem;
    }

    .footer-bottom {
        text-align: center;
        padding: 1.5rem 0 100px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
    }

    .service-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}