
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4efff;
    color: #2f2f3a;
    position: relative;
    overflow-x: hidden;
}


.top-header {
    width: 88%;
    max-width: 75rem;
    margin: 1.5rem auto 1rem auto;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(0.4rem);
    border-radius: 1.2rem;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0.4rem 1.2rem rgba(76, 52, 120, 0.08);
}


.logo {
    background-color: #eee8ff;
    color: #4b2e83;
    font-weight: bold;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


nav {
    display: flex;
    gap: 1.2rem;
    background-color: #eee8ff;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
}

nav a {
    text-decoration: none;
    color: #4b2e83;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.3rem 0.2rem;
}

nav a:hover {
    color: #7b68b3;
}


main {
    width: 88%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 1rem 0 2rem 0;
}


.hero-card {
    background-color: rgba(255, 255, 255, 0.88);
    border-radius: 1.6rem;
    padding: 2rem;
    box-shadow: 0 0.6rem 1.5rem rgba(76, 52, 120, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.8rem;
}


.hero-text {
    flex: 1;
}


.hero-image {
    flex: 0 0 18rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 16rem;
    height: 16rem;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f4efff;
    padding: 0.7rem;
    border: 0.15rem solid #d9cff8;
    box-shadow: 0 0.5rem 1.2rem rgba(76, 52, 120, 0.12);
}


h1 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #3f2a78;
    margin-bottom: 0.4rem;
    text-transform: capitalize;
    text-shadow: 0.08rem 0.08rem 0.12rem rgba(63, 42, 120, 0.12);
}


h2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #4b2e83;
    margin-bottom: 0.8rem;
    text-transform: capitalize;
    text-shadow: 0.05rem 0.05rem 0.1rem rgba(75, 46, 131, 0.08);
}


p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}


#intro {
    font-size: 1rem;
    font-style: italic;
    color: #7a7290;
    margin-bottom: 1.2rem;
}


.button-group {
    margin-top: 1.3rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 1.3rem;
    border-radius: 0.8rem;
    font-weight: bold;
    margin-right: 0.8rem;
    transition: 0.3s ease;
}


.primary-btn {
    background-color: #4b2e83;
    color: white;
}

.primary-btn:hover {
    background-color: #3c2369;
}


.secondary-btn {
    background-color: transparent;
    color: #4b2e83;
    border: 0.12rem solid #4b2e83;
}

.secondary-btn:hover {
    background-color: #f1ebff;
}


.content-card {
    background-color: rgba(255, 255, 255, 0.88);
    border-radius: 1.4rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1.2rem rgba(76, 52, 120, 0.07);
    margin-bottom: 1.5rem;
}


.page-title {
    font-size: 2.2rem;
    color: #3f2a78;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
    text-align: left;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}


.project-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 0.6rem 1.5rem rgba(76, 52, 120, 0.08);
    display: flex;
    flex-direction: column;
}

.project-figure {
    margin: 0;
    background: linear-gradient(to right, #b04ce1, #1d2d5c);
    padding: 1rem;
    text-align: center;
}

.project-figure img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 1.2rem;
    background-color: white;
}

.project-figure figcaption {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: #f5f1ff;
    font-style: italic;
}


.project-content {
    padding: 1.5rem;
}

.project-content h2 {
    color: #4b2e83;
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}


.project-date {
    color: #7b7293;
    font-style: italic;
    margin-bottom: 0.8rem;
}


.project-content .project-btn {
    display: inline-block;
    padding: 12px 24px;
    min-width: 180px;        
    text-align: center;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;

    background-color: #4b2e83;  
    color: white;

    transition: all 0.3s ease;
}

.project-content .project-btn:hover {
    background-color: #6a3fb5;
    transform: translateY(-2px);
}


ul {
    list-style-type: square;
    list-style-position: inside;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

ol {
    list-style-type: decimal;
    list-style-position: inside;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

dl {
    margin-bottom: 1rem;
}


a {
    color: #4b2e83;
}

a:hover {
    color: #7b68b3;
}


.highlight {
    background-color: #f3ecff;
    color: #4b2e83;
    padding: 0.6rem;
    border-left: 0.3rem solid #8d74d6;
    border-radius: 0.5rem;
    font-weight: bold;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
    margin-top: 40px;
}

footer p {
    text-align: center;
    margin: 10px 0;
}


.back-to-top {
    display: inline-block;
    text-decoration: none;
    padding: 6px 12px;
    font-size: 14px;
    color: white;
    background-color: #d291bc;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.back-to-top:hover {
    color: #007BFF;
}


.contact-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 0.8rem 2rem rgba(76, 52, 120, 0.08);
}


.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}


.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}


label {
    font-weight: bold;
    color: #4b2e83;
    margin-bottom: 0.4rem;
}


input,
textarea {
    padding: 0.9rem;
    border-radius: 1rem;
    border: 0.1rem solid #ddd;
    font-size: 0.95rem;
    outline: none;
    background-color: #f7f4ff;
    color: #2f2f3a;
}

textarea {
    min-height: 8rem;
    resize: none;
}

input:focus,
textarea:focus {
    border-color: #7b68b3;
}


.send-btn {
    margin-top: 1.5rem;
    background-color: #4b2e83;
    color: white;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0.4rem 1rem rgba(76, 52, 120, 0.2);
}

.send-btn:hover {
    background-color: #3c2369;
    color: white;
}


.contact-direct {
    margin-top: 1.5rem;
}


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

    .project-figure img {
        height: 15rem;
    }
}


@media (max-width: 900px) {
    .hero-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        text-align: center;
    }

    .hero-image img {
        width: 13rem;
        height: 13rem;
    }

    .button-group {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .btn {
        margin-right: 0;
    }
}


@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    main {
        width: 92%;
    }
}


@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}
