* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(120deg, #f6f7ff, #ffffff);
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    color: #6C63FF;
    font-weight: 700;
}

nav a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6C63FF;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.btn {
    background: #6C63FF;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}

.btn:hover {
    background: #5149d6;
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    color: #6C63FF;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    background: linear-gradient(135deg, #ffffff, #eef0ff);
}

.hero-text {
    max-width: 50%;
    opacity: 0;
    transform: translateX(-100px);
    transition: 0.8s;
}

.hero-text.show {
    opacity: 1;
    transform: translateX(0);
}

.hero h2 {
    font-size: 42px;
    color: #222;
}

.hero p {
    font-size: 18px;
    margin: 15px 0;
    color: #555;
}

.hero img {
    width: 70%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: 1s;
}

.hero img.show {
    opacity: 1;
    transform: scale(1);
}

/* About */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background: white;
    margin: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(-50px);
    transition: 1s;
}

.about.show {
    opacity: 1;
    transform: translateX(0);
}

.about img {
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.about div {
    max-width: 50%;
}

/* Services */
.services {
    padding: 70px 60px;
    text-align: center;
    background: linear-gradient(120deg, #ffffff, #f7f8ff);
}

.services h2 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #222;
}

.services p {
    color: #555;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px)scale(1.03);
    border: 2px solid #6C63FF;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
    background: linear-gradient(145deg, #fff, #f6f6ff);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
    transition: 0.4s;
}

.service-card:hover .icon {
    transform: rotate(15deg)scale(1.2);
    color: #6C63FF;
}

.service-card h3 {
    color: #6C63FF;
    font-size: 22px;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 15px;
}

/* Process */
.process {
    padding: 60px;
    text-align: center;
    background: #fff;
}

.process h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 35px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    opacity: 0;
    transform: scale(0.9);
}

.card.show {
    opacity: 1;
    transform: scale(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #6C63FF;
}

/* Portfolio */
.portfolio {
    padding: 60px;
    background: white;
    text-align: center;
}

.portfolio h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio img {
    width: 100%;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(40px);
    filter: grayscale(100%);

}

.portfolio img.show {
    opacity: 1;
    transform: translateY(0);
}

.menu-toggle.rotate {
    transform: rotate(90deg);
}

.portfolio img:hover {
    transform: scale(1.05);

    filter: grayscale(0%);
}

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;

}

/* Contact*/
form {

    background: rgba(240, 248, 255, 0.137);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    padding: 35px 50px;
    border-radius: 15px;
    width: 340px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

form h1 {

    text-align: center;
    margin: 0;
}

form hr {
    border: none;
    border-top: 1px solid #acacac;
    margin: -10px -50px 25px;
    width: 340px;
}

.input-box {
    position: relative;
}

footer {
    text-align: center;
    padding: 10px;
    background: #f1f1f1;
    color: #333;
    font-size: 14px;
}

.input-box input {
    width: 100%;
    padding: 3px 5px 0px;
    padding-bottom: 4px;
    margin-bottom: 10px;
    border: none;
    border-bottom: 2.7px solid #999999;
    font-size: 17px;
    outline: none;
    background: transparent;
}

.input-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 33px;
    height: 7%;
    transform: scale(0);
    transform-origin: left;
    background-color: #6C63FF;
    transition: all 0.4s ease;
    z-index: 1;
}

.input-box:focus-within::before {
    transform: scaleX(1);
}



.input-box label {
    position: absolute;
    top: 6px;
    left: 6px;
    color: #666;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-box input:focus+label,
.input-box input:not(:placeholder-shown)+label {
    transform: translate(-7px, -20px);
    font-size: 13px;
    color: #5149d6;
}

#forget {
    font-size: 14px;
    text-decoration: none;
    color: #616161;
    margin-top: -5px;
    margin-left: 6px;
    overflow: hidden;
    width: 116px;
}

form #forget:hover {
    text-decoration: underline;
}

button {
    margin-top: 15px;
    margin-bottom: -6px;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid #6C63FF;
    color: #5149d6;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

button:hover {
    background: #5149d6;
    color: rgba(255, 255, 255, 0.863);
}


/* ✅ Responsive */
@media(max-width:970px) {
    header {
        flex-wrap: wrap;
        padding: 10px 20px;
        font-size: 13px;
    }


    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }


    .hero-text {
        max-width: 100%;
    }


    .hero img {
        width: 90%;
        margin-top: 20px;
    }

    .about {
        flex-direction: column;
        margin: 20px;
    }

    .about img {
        width: 90%;
        margin-bottom: 20px;
    }

    .about .Pro {
        width: 100%;
        max-width: 700px;
        /* Optional: limit width */
        margin: 0 auto;
        text-align: center;
    }

    .service-grid,
    .portfolio-grid,
    .process-cards {
        grid-template-columns: 1fr;
    }

    .process,
    .portfolio {
        margin: 20px;
        padding: 30px 20px;
    }
}

/* ✅ Mobile Menu */
@media(max-width:768px) {
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        text-align: center;
        border-top: 1px solid #ddd;
    }

    nav a {
        margin: 10px 0;
        font-size: 18px;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        padding: 0px 5px 0px 75px;
        display: block;
    }
}

@media screen and (max-width:500px) {
    .contact {
        transform: scale(0.9);
    }
}