* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow-x: hidden;
    background: #f5f5f5;
}

/* ============ HEADER STYLES ============ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #4a7c7c 0%, #5a9c9c 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
}

.header-content {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5dcc7a;
    transition: width 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Adjust main container to account for fixed header */
.main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 70px;
}

/* ============ CONTENT SECTIONS ============ */
.content-section {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in;
}

.content-section.active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 70px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #4a7c7c 0%, #5a9c9c 100%);
    color: white;
    width: 100%;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

/* Section Content */
.section-content {
    padding: 40px;
    background: white;
    width: 100%;
    min-height: 500px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: linear-gradient(135deg, #e8f5ff 0%, #f0f8ff 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4a7c7c 0%, #5a9c9c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.skill-card {
    background: white;
    border: 2px solid #4a7c7c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}



.skill-placeholder {
    font-size: 24px;
    font-weight: 700;
    color: #4a7c7c;
}

.skill-card:hover .skill-placeholder {
    color: white;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #5dcc7a;
    box-shadow: 0 0 0 3px rgba(93, 204, 122, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4a7c7c 0%, #5a9c9c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 124, 124, 0.3);
}


/* Background Sections */
.left-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, #356161 0%, #addbec 100%);
    z-index: 0;
}

.right-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, #d4e8f0 0%, #9dbed8 100%);
    z-index: 0;
}

/* Main Card */
.card-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    max-width: 1700px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    min-height: 1000px;
}

/* ============ LEFT SECTION ============ */
.left-section {
    background: linear-gradient(135deg, #4a7c7c 0%, #5a9c9c 100%);
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: center;
}

.avatar-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.job-title {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.contact-info {
    width: 100%;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 12px;
    line-height: 1.8;
    opacity: 0.95;
}

.phone {
    margin-bottom: 5px;
}

.email {
    margin-bottom: 0;
}

.btn {
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 30px;
}

.btn-dark {
    margin-top: 10%;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-dark:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.footer-text {
    font-size: 11px;
    opacity: 0.7;
    margin-top: auto;
    padding-top: 20px;
}

/* ============ CENTER SECTION ============ */
.center-section {
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.label {
    display: inline-block;
    font-size: 14px;
    color: #4a7c7c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.headline {
    font-size: 56px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
    text-align: justify;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-outline {
    background-color: transparent;
    border-color: #999;
    color: #333;
    flex: 0 1 auto;
}

.btn-outline:hover {
    border-color: #5dcc7a;
    color: #5dcc7a;
    background-color: rgba(93, 204, 122, 0.05);
}

/* ============ RIGHT SECTION ============ */
.right-section {
    background: linear-gradient(135deg, #e8f5ff 0%, #f0f8ff 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.wawa{
    color: #333;
    font-size: 32px;
    font-weight: 700;
    padding-top: 30%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    margin-top: 40%;
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: -300px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.int{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.35s ease-in-out;
}

.right-nav-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.nav-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #ddd;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-icon-btn:hover {
    background-color: #5dcc7a;
    border-color: #5dcc7a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(93, 204, 122, 0.25);
}

.slider-nav {
    display: flex;
    gap: 12px;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #ddd;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.slider-btn:hover {
    background-color: #5dcc7a;
    border-color: #5dcc7a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(93, 204, 122, 0.25);
}

/* ============ TABLET (768px - 1199px) ============ */
@media (max-width: 1199px) {
    .section-header h2 {
        font-size: 36px;
    }

    .section-content {
        min-height: 400px;
        padding: 30px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .header-content {
        padding: 12px 30px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-link {
        font-size: 13px;
    }

    .card-container {
        grid-template-columns: 1fr 1.2fr;
        min-height: 550px;
    }

    .left-section {
        grid-column: 1;
        grid-row: 1 / 3;
        padding: 40px 25px;
    }

    .center-section {
        grid-column: 2;
        grid-row: 1;
        padding: 40px 35px;
    }

    .right-section {
        grid-column: 2;
        grid-row: 2;
        padding: 25px;
    }

    .headline {
        font-size: 36px;
    }

    .description {
        font-size: 13px;
    }

    .image-wrapper {
        height: 280px;
    }

    .left-bg {
        width: 25%;
    }

    .right-bg {
        width: 25%;
    }
}

/* ============ MOBILE (600px - 767px) ============ */
@media (max-width: 767px) {
    .section-header {
        padding: 30px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-content {
        padding: 20px;
        min-height: auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form {
        padding: 20px;
    }

    .header-content {
        padding: 12px 20px;
    }

    .logo h2 {
        font-size: 22px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, #3a6c6c 0%, #4a8c8c 100%);
        padding: 20px;
        gap: 0;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 14px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .main-container {
        padding: 15px;
        margin-top: 60px;
    }

    .left-bg, .right-bg {
        display: none;
    }

    .card-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        min-height: auto;
    }

    .left-section {
        grid-column: 1;
        grid-row: 1;
        padding: 35px 25px;
    }

    .center-section {
        grid-column: 1;
        grid-row: 2;
        padding: 35px 25px;
    }

    .right-section {
        grid-column: 1;
        grid-row: 3;
        padding: 25px;
        border-top: 1px solid #eee;
    }

    .avatar-wrapper {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }

    .name {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .job-title {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .headline {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .description {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .button-group {
        gap: 10px;
    }

    .btn {
        font-size: 12px;
        padding: 11px 22px;
    }

    .image-wrapper {
        height: 250px;
        margin-bottom: 20px;
    }

    .right-nav-icons {
        position: static;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        margin-bottom: 15px;
    }

    .nav-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-nav {
        position: static;
        transform: none;
    }
}

/* ============ SMALL MOBILE (480px - 599px) ============ */
@media (max-width: 599px) {
    .section-header {
        padding: 25px 15px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-content {
        padding: 15px;
    }

    .header-content {
        padding: 10px 15px;
    }

    .logo h2 {
        font-size: 20px;
    }

    .main-container {
        padding: 12px;
        margin-top: 50px;
    }

    .card-container {
        border-radius: 15px;
    }

    .left-section {
        padding: 30px 20px;
    }

    .avatar-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
        border-width: 4px;
    }

    .name {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .job-title {
        font-size: 11px;
        margin-bottom: 18px;
    }

    .social-icons {
        gap: 12px;
        margin-bottom: 20px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .contact-info p {
        font-size: 11px;
    }

    .btn {
        font-size: 11px;
        padding: 10px 20px;
        margin-bottom: 20px;
    }

    .center-section {
        padding: 30px 20px;
    }

    .label {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .headline {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .description {
        font-size: 12px;
        margin-bottom: 22px;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary, .btn-outline {
        width: 100%;
    }

    .right-section {
        padding: 20px;
    }

    .image-wrapper {
        height: 220px;
        margin-bottom: 15px;
    }

    .right-nav-icons {
        gap: 8px;
        margin-bottom: 12px;
    }

    .nav-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .footer-text {
        font-size: 10px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 15px;
    }
}

/* ============ EXTRA SMALL (< 480px) ============ */
@media (max-width: 479px) {
    .section-header {
        padding: 20px 12px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .header-content {
        padding: 10px 12px;
    }

    .logo h2 {
        font-size: 18px;
    }

    .main-container {
        padding: 10px;
        margin-top: 50px;
    }

    .card-container {
        border-radius: 12px;
    }

    .left-section {
        padding: 25px 15px;
    }

    .avatar-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 12px;
        border-width: 3px;
    }

    .name {
        font-size: 20px;
    }

    .job-title {
        font-size: 10px;
        margin-bottom: 15px;
    }

    .social-icons {
        gap: 10px;
        margin-bottom: 15px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .contact-info p {
        font-size: 10px;
        line-height: 1.6;
    }

    .btn {
        font-size: 10px;
        padding: 9px 18px;
        margin-bottom: 15px;
    }

    .center-section {
        padding: 25px 15px;
    }

    .label {
        font-size: 9px;
        margin-bottom: 10px;
    }

    .headline {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .description {
        font-size: 11px;
        margin-bottom: 18px;
    }

    .right-section {
        padding: 15px;
    }

    .image-wrapper {
        height: 180px;
        margin-bottom: 12px;
    }

    .right-nav-icons {
        gap: 6px;
        margin-bottom: 10px;
    }

    .nav-icon-btn {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .footer-text {
        font-size: 9px;
        padding-top: 15px;
    }

    .section-content {
        padding: 12px;
    }

    .contact-form {
        padding: 12px;
    }
}

/* ============ ANIMATIONS ============ */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-container {
    animation: slideIn 0.6s ease-out;
}

.left-section {
    animation: slideIn 0.6s ease-out 0.1s backwards;
}

.center-section {
    animation: slideIn 0.6s ease-out 0.2s backwards;
}

.right-section {
    animation: slideIn 0.6s ease-out 0.3s backwards;
}