* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #F7CBBF;
    color: #2250E7;
}

.body-secondary {
    background-color: #2250E7;
    color: #F7CBBF;
}

.logo, .logo-secondary {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.nav-links a, .nav-links-secondary a, h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.greeting, .btn-primary, .btn-secondary, h3, h4, p, .forward-link {
    font-family: 'DM Sans', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

header {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    padding: 20px 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.logo {
    font-size: 1.2rem;
    color: #2250E7;
    margin: 0;
}

.logo-secondary {
    font-size: 1.2rem;
    color: #F7CBBF;
    margin: 0;
}

.nav-links a {
    margin-left: 20px;
    color: #2250E7;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links-secondary a {
    margin-left: 20px;
    color: #F7CBBF;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover, .nav-links-secondary a:hover {
    text-decoration: underline;
}

header h1 {
    font-size: 1.5rem;
}

header nav a {
    margin: 0 15px;
    color: #2250E7;
    text-decoration: none;
    font-size: 1rem;
}

.icon {
    width: 16px;
    height: 16px;
}

.icon-secondary {
    width: 16px;
    height: 16px;
    filter: invert(1);
}






.intro {
    padding: 60px 0;
    background-color: #F7CBBF;
}

.intro-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.intro-text {
    max-width: 50%;
    color: #2250E7;
}

.greeting {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.intro h2 {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1;
}

.buttons {
    display: flex;
    gap: 20px;
    margin-top: 100px;
    margin-bottom: 40px;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
    padding: 10px 20px;
    border: 2px solid #2250E7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    color: #2250E7;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.btn-primary {
    background-color: #2250E7;
    color: #F7CBBF;
}

.btn-tertiary {
    background-color: #E7FC53;
    color: #2250E7;
}

.btn-primary::after,
.btn-secondary::after,
.btn-tertiary::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #F7CBBF;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.btn-secondary::after, .btn-tertiary::after {
    background-color: #2250E7;
}


.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-tertiary:hover::after {
    transform: scaleX(1);
}

.btn-primary:hover {
    color: #F7CBBF;
}

.btn-secondary:hover {
    color: #2250E7;
}

.btn-tertiary:hover {
    color: #2250E7;
}



.back-link {
    color: #fdd5d1;
    text-decoration: underline;
    font-size: 1rem;
    font-style: italic;
    transition: color 0.3s ease;
}




/* .abstract-shape {
    width: 200px;
    height: 200px;
    background-color: #2250E7;
    clip-path: polygon(60% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(25deg);
} */


/* 
.abstract-shape {
    width: 200px;
    height: 200px;
    background-color: #2250E7;
    clip-path: polygon(60% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(25deg);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.abstract-shape:hover {
    transform: rotate(45deg) scale(1.1); 
    background-color: #1A3BB8;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
} */

/* Abstract Shape Styling */
/* .abstract-shape {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #2250E7, #1A3BB8);
    clip-path: polygon(60% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(25deg);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), 
                background 0.5s ease, 
                box-shadow 0.3s ease;
}


.abstract-shape:hover {
    transform: rotateY(180deg) rotateX(20deg) scale(1.1); 
    background: linear-gradient(225deg, #F05454, #30475E);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.3), 
                0px 0px 20px rgba(240, 84, 84, 0.5);
    animation: pulse 1.5s infinite ease-in-out;
}


@keyframes pulse {
    0%, 100% {
        transform: rotateY(180deg) rotateX(20deg) scale(1.1);
    }
    50% {
        transform: rotateY(180deg) rotateX(20deg) scale(1.15);
    }
} */







/* Base Shape Styling */
/* .abstract-shape {
    position: relative;
    min-width: 200px;
    min-height: 200px;
    width: 200px;
    height: 200px;
    background-color: #2250E7;
    clip-path: polygon(60% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(25deg);
    transition: transform 0.5s ease, clip-path 0.5s ease, background 1.2s ease;
    overflow: visible;
}


.abstract-shape:hover {
    transform: rotateX(360deg) rotateY(360deg) scale(1.2);
    background: linear-gradient(135deg, #F05454, #ff9f43, #1B9CFC);
    clip-path: polygon(50% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
}


.abstract-shape::before,
.abstract-shape::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    clip-path: inherit;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.8);
    opacity: 0.7;
    transition: transform 0.5s ease, opacity 0.5s ease;
}


.abstract-shape:hover::before {
    transform: translate(-70%, -70%) rotate(45deg) scale(0.9);
    opacity: 0.5;
}

.abstract-shape:hover::after {
    transform: translate(70%, 70%) rotate(-45deg) scale(0.7);
    opacity: 0.3;
    filter: blur(4px);
} */





/* Container for positioning the SVG shapes */
.svg-container {
    position: relative;
    width: 300px; /* Adjust based on your layout needs */
    height: 300px; /* Adjust based on your layout needs */
    margin: 20px 120px; /* Centers the SVGs horizontally */
    overflow: visible;
    min-width: 200px;
}

/* General styling for abstract shapes */
.abstract-shape {
    position: absolute;
    width: 180%; /* Adjust based on your SVG size */
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition for initial hover */
}

/* Styling for the first shape */
.shape-1 {
    top: -110px;
    left: -50px;
    transform: rotate(10deg) scale(1);
    opacity: 1;
}

/* Styling for the second shape */
.shape-2 {
    top: 110px;
    left: 50px;
    width: 140%;
    transform: rotate(-15deg) scale(1.1);
    opacity: 1;
}

/* Hover Effects */
.svg-container:hover .shape-1 {
    animation: spin-clockwise 3s linear infinite; /* Clockwise spinning effect */
}

.svg-container:hover .shape-2 {
    animation: spin-counterclockwise 3s linear infinite; /* Counterclockwise spinning effect */
}

/* Clockwise Spin Animation */
@keyframes spin-clockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Counterclockwise Spin Animation */
@keyframes spin-counterclockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}






/* Projects Section Styles */
.projects {
    background-color: #2250E7;
    color: #F7CBBF;
    padding: 60px 0;
    text-align: center;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 64px;
    color: #F7CBBF;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.project {
    padding: 20px;
    border-radius: 8px;
}

.project-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.project-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
     color: #F7CBBF;
}

.project-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #F7CBBF;
}









.forward-link {
    font-style: italic;
    text-decoration: underline;
    color: #E7FC53;
    position: relative;
    transition: color 0.3s ease;
}

.forward-link:hover {
    color: #E7FC53;
}

.forward-link:hover::after {
    content: " →";
    position: absolute;
    right: -20px;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.forward-link::after {
    content: " →";
    position: absolute;
    right: -20px;
    opacity: 0;
}

.see-more {
    display: block;
    margin-top: 40px;
    color: #F7CBBF;
    text-decoration: none;
    font-weight: bold;
}

.see-more:hover {
    text-decoration: underline;
}
.see-more-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 20px;
    background-color: #F7CBBF;
    color: #2250E7;
    border: 2px solid #2250E7;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}
.see-more-btn:hover {
    background-color: #2250E7;
    color: #F7CBBF;
}

footer {
    background-color: #ECC5C1;
    color: #2250E7;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-secondary {
    background-color: #2250E7;
    color: #ECC5C1;
    padding: 20px 0;
    font-size: 0.9rem;
}

.social-icons a {
    color: #2250E7;
    margin-left: 10px;
    text-decoration: none;
}

.social-icons-secondary a {
    color: #ECC5C1;
    margin-left: 10px;
    text-decoration: none;
}









/* Profile Section */
.profile-section {
    width: 80%;
    display: flex;
    justify-content: center;
    margin: 80px auto;
    /* margin-top: 80px; */
}

.profile-container {
    display: flex;
    width: 100%;
    gap: 80px;
}

/* Image Styling */
.profile-image {
    width: 50%;
}

.profile-image img {
    width: 95%;
    /* height: auto; */
    height: auto;
    border-radius: 8px;
}

.profile-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.profile-text h2 {
    font-size: 2rem;
    color: #2250E7;
    margin-bottom: 20px;
}

.profile-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.download-cv {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2250E7;
    color: #fdd5d1;
    text-decoration: none;
    font-weight: bold;
    /* border-radius: 5px; */
    transition: background-color 0.3s ease;
    align-self: start;
}

.download-cv:hover {
    background-color: #001acc;
}

/* Past Work Section */
.past-work-section {
    /* width: 80%; */
    padding: 80px 0;
    display: flex;
    justify-content: center;
    margin: 80px auto;
    background-color: #ECC5C1;
}

.past-work-container {
    width: 100%;
    text-align: center;
}

/* Text Section Styling */
.past-work-text {
    margin-bottom: 40px;
}

.past-work-text h2 {
    font-size: 2rem;
    color: #2250E7;
    margin-bottom: 10px;
}

.past-work-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2250E7;
    max-width: 600px;
    margin: 0 auto;
}

/* Client Logos Styling */
.client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.client-logos img {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

/* Skills Section Styling */
.skills-section {
    width: 80%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    margin: 80px auto;
}

.skills-container {
    display: flex;
    width: 100%;
    gap: 120px;
    align-items: center;
}

/* Text Section Styling */
.skills-text {
    width: 70%;
    text-align: left;
}

.skills-text h2 {
    font-size: 2rem;
    color: #2250E7;
    margin-bottom: 20px;
}

.skills-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #2250E7;
}

.skills-image {
    width: 40%;
}

.skills-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}








/* Intro Section Styling */
.project-intro {
    width: 60%;
    margin: 40px auto;
    text-align: left;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.project-intro h2 {
    font-size: 1.1rem;
    color: #2250E7;
    margin-bottom: 20px;
}

.project-intro p {
    font-size: 3rem;
    line-height: 1rem;
    margin-bottom: 20px;
    color: #2250E7;
}

/* Wide Image Section Styling */
.project-wide-image {
    width: 80%;
    margin: 80px auto;
}

.project-wide-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Text Section Styling */
.project-text-section {
    width: 60%;
    margin: 40px auto;
}

.text-content {
    max-width: 800px;
    margin: 40px auto;
}

.project-text-section h3 {
    font-size: 1.5rem;
    color: #2250E7;
    margin-bottom: 15px;
}

.project-text-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2250E7;
    margin-bottom: 20px;
}

/* Image Section Styling */
.project-image-section {
    width: 80%;
    margin: 40px auto;
}

.project-image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}




/* General styling for project sections */
.project-section {
    display: flex;
    width: 60%;
    margin: 40px auto;
    gap: 20px;
    align-items: flex-start;
    max-width: 800px;
}

/* Left column (Challenge title) */
.project-challenge {
    width: 40%;
}

.project-challenge h2 {
    font-size: 1.2rem;
    color: #2250E7;
    font-weight: bold;
    margin: 0;
    padding-top: 10px;
}

/* Right column (Text content) */
.project-description {
    width: 100%;
}

.project-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2250E7;
    margin-bottom: 10px;
    margin-left: 120px;
}





/* Project Images Section */
.project-images-section {
    width: 80%;
    margin: 60px auto;
}

video {
    display: block;
    margin: 0 auto;
    width: 80%;
}

.image-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.image-box {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-box .legend {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #2250E7;
    text-align: left;
    max-width: 100%;
}

.offset {
    margin-top: 160px;
}


/* Impact Section Styling */
.impact-section {
    width: 80%;
    margin: 160px auto;
    text-align: center;
}

.impact-section h2 {
    font-size: 1.5rem;
    color: #2250E7;
    margin-bottom: 60px;
}

.divider-title {
    width: 80%;
    margin: 64px auto;
    text-align: center;
    font-size: 1rem;
    color: #2250E7;
}

.kpi-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.kpi-item {
    font-size: 2rem;
    color: #2250E7;
    font-weight: bold;
    font-family: 'DM Sans';
}
















/* Tablet Styles */
@media (max-width: 1000px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .intro-container, .projects-container, .image-container, .skills-container, .profile-container, .past-work-container{
        width: 90%;
    }

    .kpi-container{
        width: 100%;
    }

    .projects-container{
        padding: 0;
    }

    .project-grid, .projects-grid, .publications-grid{
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
    }

    .profile-container, .skills-container, .project-section, .image-container, .kpi-container{
        flex-direction: column;
    }

    .profile-image, .skills-image, .skills-text, .project-wide-image, .project-image-section, .image-container, .image-box, .project-challenge{
        width: 100%;
    }

    .project-wide-image img, .project-image-section img{
        border-radius: 0px;
    }

    .project-description p{
        margin-left: 0;
    }

    .project-intro p{
        line-height: 0.8;
    }

    .intro h2{
        font-size: 2.5rem;
        padding-right: 40px;
    }

    .svg-container{
        margin: 20px 40px;
        margin-right: -60px;
    }
}

/* Mobile Styles */
@media (max-width: 600px) {
    .intro-container{
        flex-direction: column-reverse;
    }

    .buttons{
        flex-direction: column;
        margin-top: 36px;
    }

    .svg-container{
        margin-bottom: 0px;
        margin-top: 64px;
    }

    .offset{
        margin-top: 80px;
    }

    .shape-1{
        top: -38px;
        left: 78px;
        width: 113%;
    }

    .shape-2{
        top: 9px;
        left: -39px;
        width:86%;
    }

    .greeting{
        font-size: 1rem;
        margin-top: 36px;
    }

    .intro{
        padding: 0;
    }

    .intro h2{
        font-size: 1.6rem;
    }

    .btn-primary{
        text-align: center;
    }

    .btn-secondary{
        text-align: center;
    }

    .nav-links a, .nav-links-secondary a{
        margin-left: 0;
        font-size: 0.8rem;
    }

    .logo, .logo-secondary{
        font-size: 1rem;
    }
}





.password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.password-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.password-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.password-message {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.password-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.password-button {
    width: 100%;
    padding: 0.8rem;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.password-button:hover {
    background-color: #0056b3;
}

.password-back {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #007BFF;
    text-decoration: none;
}

.password-back:hover {
    text-decoration: underline;
}

.password-error {
    color: #d9534f;
    margin-bottom: 1rem;
}