/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    padding-top: 80px;
    box-sizing: border-box;
    background-color: transparent;
}

.home-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-top: 80px;
}

.text-content {
    flex: 1;
    padding-right: 60px;
}

.text-content h1 {
    font-size: 3.5rem;
    color: #ECF0F1;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(to right, #34495E, #7F8C8D);
    -webkit-background-clip: text;
    color: transparent;
}

.text-content h2 {
    font-size: 2rem;
    color: #BDC3C7;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
}

/* Typing animation styles */
.text-content h2.typing {
    border-right: none;
}

.text-content h2.typing-done {
    /* Removed border-right and animation for cursor effect */
}

.text-content p {
    font-size: 1.2rem;
    color: #7F8C8D;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-primary, .cta-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta-primary {
    background: #34495E;
    color: #ECF0F1;
}

.cta-secondary {
    border: 2px solid #7F8C8D;
    color: #ECF0F1;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-3px);
}

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

.profile-frame {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(45deg, #34495E, #7F8C8D) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}


@media screen and (max-width: 768px) {
    .home {
        padding: 120px 5% 60px;
        text-align: center;
    }

    .home-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }

    .text-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 500px;
    }

    .text-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .text-content h2 {
        font-size: 1.8rem;
        text-align: center;
        display: block;
    }

    .text-content p {
        text-align: center;
        font-size: 1.1rem;
        margin: 20px auto 30px;
    }

    .cta-buttons {
        justify-content: center;
        width: 100%;
    }
}