/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: white;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-image picture,
.about-image picture {
    display: block;
    width: 100%;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-speed) ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--light-color);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
    pointer-events: none;
}

/* Section General */
.section {
    padding: 8rem 0 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 5px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    top: 20px;
    left: 20px;
    z-index: -1;
    opacity: 0.5;
    transition: all var(--transition-speed) ease;
}

.about-image:hover img {
    transform: translate(-10px, -10px);
}

.about-image:hover:before {
    transform: translate(10px, 10px);
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.profile, .education, .language, .skills, .interests {
    margin-bottom: 1rem;
    font-weight: 500;
    color: #444;
}

/* Experience Section */
.experience {
    background-color: var(--light-color);
    padding: 8rem 0;
}

.job {
    background-color: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    border-left: 5px solid var(--accent-color);
}

.job:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.experience-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.job-description {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.job ul {
    list-style-type: none;
    padding-left: 0;
}

.job ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #555;
}

.job ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Skills Section */
.skills-section {
    background-color: white;
    padding: 8rem 0;
}

.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skill-item {
    margin-bottom: 2.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.skill-name {
    font-weight: 700;
    color: var(--dark-color);
}

.skill-percentage {
    font-weight: 700;
    color: var(--accent-color);
}

.progress {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--accent-color);
    border-radius: 10px;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
    padding: 8rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info {
    padding-right: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-text {
    flex: 1;
}

.contact-label {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
}

.contact-value {
    margin: 0;
    color: #555;
}

.contact-value a {
    color: #555;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.contact-value a:hover {
    color: var(--accent-color);
}

.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

textarea.form-control {
    min-height: 150px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-shape {
        display: none;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .skills-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .navbar {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        text-align: center;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }
}
