* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e8f6f5;
    box-shadow: 0 2px 15px rgba(26, 95, 90, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #b2dfdb;
}

.header .container {
    max-width: 100%;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: #1a3c3a;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3aafa9;
    background-color: rgba(58, 175, 169, 0.1);
}

.nav-link.active {
    color: #3aafa9;
    background-color: rgba(58, 175, 169, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #3aafa9;
    border-radius: 2px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #3aafa9;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3aafa9;
}

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

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #0d2b29;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-new {
    padding: 40px 20px 80px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.greeting {
    font-size: 28px;
    color: #333;
    font-weight: 400;
    letter-spacing: 1px;
}

.main-name {
    font-size: 72px;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin: 0;
}

.tagline {
    font-size: 24px;
    color: #555;
    font-weight: 400;
    margin-top: 10px;
}

/* My Story Section */
.my-story {
    padding: 80px 0;
    background-color: #fff;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-image {
    flex: 0 0 350px;
}

.story-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-text {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 18px;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.linkedin {
    background-color: #0077b5;
}

.social-btn.x-logo {
    background-color: #000000;
    padding: 0;
}

.social-btn.x-logo svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.social-btn.x-logo:hover {
    background-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.story-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.highlight {
    font-size: 18px;
    color: #555;
    font-weight: 500;
    margin-bottom: 15px;
}

.description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.projects .section-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 750px;
    margin: 0 auto;
}

.project-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;
    background-color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.view-prototype-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3aafa9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto;
    text-decoration: none;
}

.view-prototype-btn:hover {
    background-color: #2e8b87;
    transform: translateY(-2px);
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.certifications .section-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.marquee-track {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 400px;
}

.marquee-card {
    position: absolute;
    width: 450px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 28px;
    background: #3aafa9;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
}

.marquee-card.position-0:hover .view-btn {
    opacity: 1;
    pointer-events: auto;
}

.marquee-card.position-0:hover img {
    opacity: 0.7;
}

.view-btn:hover {
    background: #2e8b87;
}

.marquee-card.position-0 {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.marquee-card.position--1 {
    transform: translateX(-480px) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    filter: grayscale(30%);
}

.marquee-card.position-1 {
    transform: translateX(480px) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    filter: grayscale(30%);
}

.marquee-card.position-hidden {
    transform: translateX(0) scale(0.7);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-section .section-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 600;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-info-box {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item.clickable:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-item.clickable {
    cursor: pointer;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3aafa9 0%, #2e8b87 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 14px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-details a,
.contact-details p {
    font-size: 18px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    margin: 0;
}

.contact-details a:hover {
    color: #3aafa9;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding: 0 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.x-logo {
    background-color: #000000;
    padding: 0;
}

.social-link.x-logo svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.social-link.x-logo:hover {
    background-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.map-container {
    min-height: 400px;
}

.map-container iframe {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .marquee-track {
        max-width: 900px;
        height: 350px;
    }

    .marquee-card {
        width: 380px;
        height: 270px;
    }

    .marquee-card.position--1 {
        transform: translateX(-400px) scale(0.85);
    }

    .marquee-card.position-1 {
        transform: translateX(400px) scale(0.85);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #e0f2f1;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        border-top: 1px solid #b2dfdb;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-name {
        font-size: 56px;
    }

    .greeting {
        font-size: 24px;
    }

    .tagline {
        font-size: 20px;
    }

    .marquee-track {
        max-width: 700px;
        height: 300px;
    }

    .marquee-card {
        width: 320px;
        height: 230px;
    }

    .marquee-card.position--1 {
        transform: translateX(-340px) scale(0.85);
    }

    .marquee-card.position-1 {
        transform: translateX(340px) scale(0.85);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        min-height: 300px;
        order: -1;
    }

    .contact-info-box {
        padding: 40px 30px;
    }

    .story-content {
        flex-direction: column;
        text-align: center;
    }

    .story-image {
        flex: none;
        max-width: 300px;
    }

    .social-links {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-new {
        padding: 20px 15px 60px;
    }

    .hero-banner {
        border-radius: 15px;
        margin-bottom: 40px;
    }

    .main-name {
        font-size: 42px;
    }

    .greeting {
        font-size: 20px;
    }

    .tagline {
        font-size: 18px;
    }

    .marquee-track {
        max-width: 100%;
        height: 260px;
    }

    .marquee-card {
        width: 260px;
        height: 190px;
    }

    .marquee-card.position--1 {
        transform: translateX(-280px) scale(0.85);
        opacity: 0.6;
    }

    .marquee-card.position-1 {
        transform: translateX(280px) scale(0.85);
        opacity: 0.6;
    }

    .marquee-card.position-0 .view-btn {
        opacity: 1;
        font-size: 14px;
        padding: 10px 20px;
        pointer-events: auto;
    }

    .marquee-card.position-0 img {
        opacity: 0.85;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-social {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .story-image img {
        height: 350px;
    }

    .project-card {
        min-height: auto;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .marquee-track {
        height: 220px;
    }

    .marquee-card {
        width: 200px;
        height: 145px;
    }

    .marquee-card.position--1 {
        transform: translateX(-220px) scale(0.8);
    }

    .marquee-card.position-1 {
        transform: translateX(220px) scale(0.8);
    }
}