html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at 20% 20%, rgba(124,58,237,0.25), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(236,72,153,0.25), transparent 45%),
        #020014;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
}



.head {
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(14px);
    background: rgba(2, 0, 20, 0.35);
    transition: background 0.3s ease, box-shadow 0.3s ease;

}

.head-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 30px;
}


.head-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.mobile-header {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.mobile-btn {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li {
    margin: 0;
}

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(2,0,20,0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 998;
    }

    .nav.active {
        max-height: 500px;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        text-align: center;
    }

    .head-content {
        padding-left: 15px;
        justify-content: space-between;
    }

    .mobile-header {
        display: flex;
    }

    .btn.btn-mobile {
        display: none;
    }

    .nav-links a.btn {
        display: block;
    }
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #d1d5db;
    font-size: 15px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #a855f7;
    text-shadow: 0 0 8px rgba(168,85,247,0.6);
}

.btn {
    padding: 8px 16px;
    border-radius: 25px;
    background: linear-gradient(90deg, #9333ea, #ec4899);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.9);
}

a {
    cursor: pointer;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #a855f7;
    transition: 0.3s;
}

.nav-links a:hover::after {
       width: 100%;
}

.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 0;

}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 10px 20px;
}


.home-content {
    max-width: 560px;
    position: relative;
    flex: 1;
    max-width: 560px;
}

.para-text {
    color: #c7c7d1;
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.home-head {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.button {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.consulation-btn {
    padding: 14px 26px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #9333ea, #ec4899);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(236,72, 153, 0.6);
}

.consulation-btn:hover {
    transform: scale(1.05);
}

.work-btn {
    padding: 14px 26px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid #9333ea;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.work-btn:hover {
    background-color: #ec4899;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
    transform: scale(1);
    box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(147, 51, 234, 0.35);
    transition: transform 0.8s ease;
}

.hero-image img:hover {
    transform: scale(1.04);
}

.para > .para-text:first-child {
    margin-left: 0;
}

@media (max-width: 768px) {

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .button {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
    }

}


section {
    padding: 100px 20px;
    text-align: center;
}

.section-title {
    font-size: 42px;
    margin-bottom: 10px;
}

.section-sub {
    color: #c7c7d1;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(147,51,234,0.3);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.35),
        inset 0 0 20px rgba(147,51,234,0.2);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.07);
    box-shadow:
        0 20px 60px rgba(147,51,234,0.45),
        inset 0 0 30px rgba(236,72,153,0.35);
}


.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.why ul {
    list-style: none;
    max-width: 600px;
    margin: auto;
}

.why li {
    margin: 15px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.mockup {
    height: 180px;
    border-radius: 20px;
    background: linear-gradient(135deg,#9333ea,#ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.35),
        inset 0 0 20px rgba(147,51,234,0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

.mockup:hover {
    transform: translateY(-6px) scale(1.07);
    box-shadow: 
        0 20px 60px rgba(147,51,234,0.45),
        inset 0 0 30px rgba(236,72,153,0.25);
    background: linear-gradient(135deg, rgba(147,51,234,0.3), rgba(236,72,153,0.3));
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer {
    padding: 30px;
    background: #020014;
}


.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    font-size: 26px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.3);
    text-shadow: 0 0 15px rgba(236,72,153,0.8);
}

.social-icons img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}



.visible {
    opacity: 1;
    transform: translateY(0);
} 

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #020014;
    position: relative;
    padding: 30px;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(147, 51, 234, 0.5);
    animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

.modal-img {
    width: 100%;
    border-radius: 14px;
    margin: 20px 0;
}

.modal-desc {
    color: #c7c7d1;
    margin-bottom: 10px;
}

.modal-tech {
    margin-bottom: 20px;
    color: #e5e7eb;
}

.testimonials {
    padding: 100px 20px;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.testimonial-card {
    background: rgba(147,51,234,0.15);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(147,51,234,0.45);
}

.testimonial-card .client-dp {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 2px solid #ec4899;
    box-shadow: 0 0 10px rgba(236,72,153,0.6);
}

.testimonial-text {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: #ec4899;
    font-size: 15px;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    max-width: 560px;
    margin: 50px auto;
    padding: 35px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.35);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #a78bfa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.35);
    background: rgba(0,0,0,0.5);
}

.form-group textarea {
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 14px 0;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #9333ea, #ec4899);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(236,72,153,0.6);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.contact-buttons a {
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-buttons .consulation-btn {
    background: linear-gradient(90deg, #9333ea, #ec4899);
    color: #fff;
    box-shadow: 0 0 18px rgba(236,72,153,0.6);
}

.contact-buttons .consulation-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(236,72,153,0.8);
}

.contact-buttons .work-btn {
    background: transparent;
    border: 1px solid #9333ea;
    color: #fff;
}

.contact-buttons .work-btn:hover {
    background: #ec4899;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 25px;
        margin: 40px 20px;
    }
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width:768px) {
    .home-head {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }
}