html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #fceceb;
}

section[id] {
    scroll-margin-top: 80px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-slide-in-scale {
    animation: slideInScale 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.hero-image-wrapper {
    animation: fadeInRight 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.social-sidebar {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.about-image-wrapper {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.about-content {
    animation: fadeInRight 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.projects-header {
    animation: fadeInUp 0.8s ease-out forwards;
}

.project-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.contact-right {
    animation: fadeInRight 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar {
    background-color: transparent;
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #000;
}

.brand-logo {
    background-color: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-text {
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.navbar-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.5px;
    bottom: -4px;
    left: 0;
    background-color: #000;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.navbar-link:hover::after,
.navbar-link.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar-cta {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.1s, opacity 0.2s;
    display: inline-block;
}

.navbar-cta:hover {
    opacity: 0.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 20;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 0.75rem 0;
        position: sticky;
        top: 0;
        background-color: rgba(252, 236, 235, 0.95);
        backdrop-filter: blur(10px);
        z-index: 100;
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 280px;
        flex-direction: column;
        background-color: #fff;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease, visibility 0.3s ease;
        z-index: 10;
        align-items: flex-start;
        visibility: hidden;
    }

    .navbar-menu.active {
        right: 0;
        visibility: visible;
    }

    .navbar-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
    }

    .navbar-cta {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        text-align: center;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
    }

    .hero-bio {
        text-align: center;
    }

    .hero-image-wrapper {
        justify-content: center;
    }

    .social-sidebar {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
        transform: none;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
    }

    .about-image-wrapper {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .projects-section {
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.hero-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    position: relative;
    max-width: 500px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    letter-spacing: -2px;
    color: #000;
}

.hero-bio {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 4rem;
    position: relative;
    padding-left: 2.5rem;
}

.dash {
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.highlight {
    background: linear-gradient(90deg, #ffccbc 0%, rgba(255, 204, 188, 0) 100%);
    padding: 2px 6px;
    font-weight: 600;
    color: #000;
}

.scroll-down {
    text-decoration: none;
    color: #666;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.scroll-icon {
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
}



.hero-image-wrapper {
    position: relative;
    margin-right: 4rem;
}

.hero-image {
    width: 320px;
    height: 420px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 320px;
    height: 420px;
    border: 3px solid #000;
    z-index: 1;
}


.social-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.social-link {
    background: #555;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s;
    text-decoration: none;
    border-radius: 0;
}

.social-link:hover {
    background: #000;
}

@media (max-width: 1024px) {
    .hero-image-wrapper {
        padding-right: 0;
        justify-content: center;
    }

    .social-sidebar {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
    }

    .hero-container {
        flex-direction: column;
        text-align: left;
        gap: 4rem;
        padding-bottom: 2rem;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    .hero-image-frame {
        right: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translate(20px, 20px);
    }
}

@media (max-width: 768px) {
    .container:not(.navbar .container) {
        flex-direction: column;
        gap: 1rem;
    }


    .hero-title {
        font-size: 3rem;
    }

    .hero-image,
    .hero-image-frame {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 350/450;
    }
}

.about-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.about-image-wrapper {
    position: relative;
    width: 350px;
    height: 450px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-bg-panel {
    position: absolute;
    top: -30px;
    right: -60px;
    width: 50%;
    height: calc(100% + 100px);
    background-color: #e0e0e0;
    z-index: 1;
}

.about-orange-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #ff5722;
    z-index: 3;
}

.about-content {
    flex: 1;
    max-width: 550px;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.about-title .title-decoration {
    position: absolute;
    top: -10px;
    right: -30px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 204, 188, 0.5);
    z-index: -1;
}

.about-bio {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.about-bio .dash {
    top: 0.5em;
}

.about-bio strong {
    color: #000;
    font-weight: 600;
}

.skills-list {
    list-style: none;
    padding-left: 2rem;
    margin-bottom: 3rem;
    font-size: 0.95rem;
    color: #666;
    position: relative;
}

.skills-list li::before {
    content: "■";
    font-size: 0.6em;
    padding-right: 0.5rem;
    vertical-align: middle;
    color: #000;
}

.about-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-left: 2rem;
}

.btn-contact {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.btn-contact:hover {
    opacity: 0.9;
}

.btn-linkedin {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-linkedin:hover {
    background-color: #000;
    color: #fff;
}

@media (max-width: 1024px) {
    .about-section {
        flex-direction: column-reverse;
        text-align: left;
    }

    .about-content {
        max-width: 100%;
        width: 100%;
    }

    .about-image-wrapper {
        margin-top: 3rem;
    }
}

.info-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.info-section.alt-bg {
    background-color: #f5e6e5;
}

.section-left {
    flex: 0 0 35%;
    max-width: 35%;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.section-right {
    flex: 1;
    max-width: 60%;
    animation: fadeInRight 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.section-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    padding-left: 2rem;
    position: relative;
}

.section-intro .dash {
    top: 0.35em;
}

.section-intro strong {
    color: #000;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: #000;
    transform: translateX(calc(-50% + 1.5px));
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background-color: #ff5722;
}

.timeline-content {
    background-color: #fff;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.timeline-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.timeline-date {
    background-color: #000;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.timeline-subtitle {
    font-size: 1rem;
    color: #333;
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.timeline-detail {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.achievement-item:nth-child(1) {
    animation-delay: 0.2s;
}

.achievement-item:nth-child(2) {
    animation-delay: 0.3s;
}

.achievement-item:nth-child(3) {
    animation-delay: 0.4s;
}

.achievement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.achievement-icon-box {
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
}

.achievement-icon-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ff5722;
}

.achievement-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #000;
}

.achievement-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    padding-left: 1.5rem;
    position: relative;
}

.achievement-content p .dash {
    top: 0.25em;
}

.research-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.research-item {
    background-color: #fff;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.research-item:nth-child(1) {
    animation-delay: 0.2s;
}

.research-item:nth-child(2) {
    animation-delay: 0.3s;
}

.research-item:nth-child(3) {
    animation-delay: 0.4s;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.research-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.research-icon-wrapper i {
    font-size: 2rem;
    color: #000;
}

.icon-bar {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 4px;
    background-color: #ff5722;
}

.research-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #000;
}

.research-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.hobbies-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hobby-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    padding: 1rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hobby-card:nth-child(1) {
    animation-delay: 0.15s;
}

.hobby-card:nth-child(2) {
    animation-delay: 0.2s;
}

.hobby-card:nth-child(3) {
    animation-delay: 0.25s;
}

.hobby-card:nth-child(4) {
    animation-delay: 0.3s;
}

.hobby-card:nth-child(5) {
    animation-delay: 0.35s;
}

.hobby-card:nth-child(6) {
    animation-delay: 0.4s;
}

.hobby-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hobby-icon-box {
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.hobby-card span {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

@media (max-width: 1024px) {
    .info-section {
        flex-direction: column;
        gap: 2rem;
    }

    .section-left,
    .section-right {
        max-width: 100%;
        width: 100%;
    }

    .section-left {
        flex: none;
    }
}

@media (max-width: 768px) {
    .info-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .research-cards {
        grid-template-columns: 1fr;
    }

    .hobbies-flex {
        flex-direction: column;
    }

    .hobby-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .section-intro {
        font-size: 0.95rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-content {
        padding: 1rem 1.25rem;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .achievement-content p {
        padding-left: 0;
    }

    .achievement-content p .dash {
        position: static;
    }
}

.projects-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
    background-color: transparent;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 0;
    flex-direction: column;
    align-items: stretch;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: #000;
    z-index: 1;
}

.title-decoration-peach {
    position: absolute;
    top: -10px;
    right: -20px;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 204, 188, 0.5);
    z-index: -1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-image {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
}

.card-arrow-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.card-arrow-btn:hover {
    background-color: #333;
}

.card-arrow-btn i {
    transform: rotate(45deg);
}


.card-category {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #000;
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-links {
    display: flex;
    gap: 1.5rem;
}

.card-link {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.card-link:hover {
    opacity: 0.7;
}

.card-link.disabled {
    color: #999;
    cursor: default;
}

.project-card.coming-soon {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 4rem;
    padding-bottom: 6rem;
    gap: 4rem;
}

.contact-left {
    flex: 0 0 35%;
    max-width: 35%;
}

.contact-info-card {
    background-color: #e0e0e0;
    padding: 3rem 2rem;
    position: relative;
    margin-bottom: 3rem;
}

.contact-info-card .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-diamond-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    border: 4px solid #ff5722;
    transform: rotate(45deg);
    background-color: transparent;
}

.contact-info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-card-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #ff5722;
}

.contact-social .social-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.social-icons-row {
    display: flex;
    gap: 0.5rem;
}

.social-icon-box {
    width: 40px;
    height: 40px;
    background-color: #555;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-icon-box:hover {
    background-color: #333;
}

.contact-right {
    flex: 1;
    max-width: 50%;
}

.contact-form-container {
    background-color: #000;
    padding: 3rem;
    color: #fff;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: none;
}

.contact-form input,
.contact-form textarea {
    background-color: transparent;
    border: 1px solid #555;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #fff;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #ff5722;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #e64a19;
}

@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        max-width: 100%;
        width: 100%;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {

    .container {
        padding: 0 1rem;
    }

    .brand-text {
        font-size: 1rem;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .hero-container {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-bio {
        font-size: 0.95rem;
    }

    .hero-image,
    .hero-image-frame {
        width: 100%;
        max-width: 250px;
        height: auto;
    }

    .hero-image-frame {
        top: 15px;
        left: 15px;
    }

    .scroll-down {
        font-size: 0.85rem;
    }

    .about-section {
        padding: 2rem 0;
        gap: 2rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-bio {
        font-size: 0.95rem;
    }

    .about-image {
        max-width: 100%;
        width: 100%;
    }

    .about-bg-panel {
        right: -30px;
    }

    .about-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-contact {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .projects-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-header {
        margin-bottom: 2rem;
    }

    .project-card {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .contact-section {
        padding: 2rem 0;
        gap: 2rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .contact-info-card .section-title {
        font-size: 1.8rem;
    }

    .contact-info-card p {
        font-size: 0.9rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .social-icons-row {
        justify-content: flex-start;
    }
}