* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f7f7f7;
    color: #222;
    background: linear-gradient(135deg, #fbeaff, #e6f0ff, #fff6e5);
    min-height: 100vh;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
}

.logo {
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0077ff;
}


.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    gap: 40px;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.hero-img img:hover {
    transform: scale(1.05);
}


.section {
    padding: 50px 40px;
}

.section h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}


.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

details {
    background: white;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
}

summary {
    font-weight: 600;
    margin-bottom: 10px;
}


.footer {
    text-align: center;
    padding: 20px;
    background-color: white;
    margin-top: 40px;
}



.page-header {
    padding: 40px;
    background-color: #eaeaea;
    text-align: center;
}

.about-layout {
    display: flex;
    gap: 50px;
    padding: 50px 40px;
}

.about-text {
    flex: 2;
    font-size: large;
}

.about-text p {
    margin-bottom: 20px;
}


.about-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-side img {
    width: 50%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.about-side img:hover {
    transform: scale(1.03);
}

.about-list ul {
    padding-left: 18px;
}

.about-list li {
    margin-bottom: 8px;
}

.about-highlight {
    padding: 50px 40px;
    background-color: #ffffff;
    text-align: center;
}

.interests-layout {
    padding: 50px 40px;
    display: grid;
    gap: 40px;
}

.interest-block h2 {
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    background-color: #eaeaea;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background 0.3s ease;
}

.tags span:hover {
    transform: translateY(-2px);
    background-color: #d6e4ff;
}

.interest-img {
    width: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.interest-img:hover {
    transform: scale(1.02);
}

.page-frame {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    border: 2px solid #e6e6e6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.page-frame::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px dashed #d6e4ff;
    pointer-events: none;
}

.interest-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
}


.interest-block {
    transition: transform 0.25s ease;
}

.interest-block:hover {
    transform: translateY(-3px);
}

.site-video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-layout {
    display: flex;
    gap: 40px;
    padding: 50px 40px;
}

.contact-box,
.contact-side {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

button {
    padding: 10px 15px;
    border: none;
    background: #0077ff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

button:hover {
    transform: scale(1.05);
}

.projects-layout {
    padding: 50px 40px;
}

.projects-intro {
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 40px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f2f2f2;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-card img {
    width: 100%;
    border-radius: 8px;
}

.project-card:hover {
    transform: translateY(-5px);
}

.video-container {
    width: 100%;
    max-width: 500px;
    margin: 15px auto;
}

.video-container iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 10px;
    display: block;
}

.resume-layout {
    padding: 50px 40px;
    display: flex;
    justify-content: center;
}

.resume-wrapper {
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.resume-frame {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .projects-gallery {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .interests-layout {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .about-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
    }
}
