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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #061E29;
    background: #F3F4F4;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #061E29 0%, #1D546D 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(6, 30, 41, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #5F9598;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #061E29 0%, #1D546D 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    background: #5F9598;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    animation: fadeInUp 0.8s ease 0.4s both;
    margin: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(95, 149, 152, 0.3);
    background: #4a7a7d;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #5F9598;
}

.cta-button.secondary:hover {
    background: #5F9598;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* About Section */
.about {
    background: white;
    padding: 4rem 4rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    
}

.personal-image-holder {
    flex-shrink: 0;
    width: 100%;
    max-width: 600px;
}

.personal-image-holder img{
    width: 100%;
    height: auto;
    max-width: 600px;
    aspect-ratio: 1;
    border-radius: 10%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(6, 30, 41, 0.1);
    border: #4a7a7d 4px solid;
}

.about-content {
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1D546D;
    text-align: center;
}

.about p {
    font-size: 1.05rem;
    color: #061E29;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    text-align: justify;
}

.highlight-box {
    background: #F3F4F4;
    padding: 1.5rem;
    border-left: 4px solid #5F9598;
    margin: 2rem 0;
    border-radius: 5px;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
    color: #1D546D;
}

/* Skills Section */
.skills {
    padding: 4rem 2rem;
    background: #F3F4F4;
}

.skills h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1D546D;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(6, 30, 41, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid #5F9598;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 30, 41, 0.15);
    border-top-color: #1D546D;
}

.skill-icon {
    display: block;
    margin: 0 auto 1rem;
    width: 70px;
    height: 70px;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #061E29;
    text-align: center;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card li {
    color: #1D546D;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.skill-card li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #5F9598;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    background: white;
    padding: 4rem 2rem;
}

.portfolio h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1D546D;
}

.portfolio-grid {
    /*display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));*/
    display: flex;
    visibility: hidden;
}

.portfolio-item {
    background: #F3F4F4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(6, 30, 41, 0.08);
    transition: transform 0.3s, box-shadow 0.3s; 
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 30, 41, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1D546D 0%, #5F9598 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.portfolio-image img {
    width: 100px;
    height: 100px;
    filter: brightness(0) invert(1);
}

.portfolio-content {
    padding: 1.5rem;
    background: white;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #061E29;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #F3F4F4;
    color: #1D546D;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.portfolio-content p {
    color: #1D546D;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.portfolio-link {
    display: inline-block;
    color: #5F9598;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.portfolio-link:hover {
    color: #1D546D;
}

/* Blog Section */
.blog {
    padding: 4rem 2rem;
    background: #F3F4F4;
}

.blog h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1D546D;
}

.blog-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #061E29;
    opacity: 0.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(6, 30, 41, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 30, 41, 0.15);
}

.blog-header {
    background: linear-gradient(135deg, #1D546D 0%, #5F9598 100%);
    padding: 2rem;
    color: white;
    text-align: center;
}

.blog-header img {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
}

.blog-category {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.blog-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #061E29;
}

.blog-date {
    font-size: 0.85rem;
    color: #5F9598;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-card p {
    color: #1D546D;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.blog-link {
    display: inline-block;
    color: #5F9598;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-link:hover {
    color: #1D546D;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    text-align: center;
    background: white;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1D546D;
}

.contact p {
    font-size: 1.1rem;
    color: #061E29;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #F3F4F4;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: #1D546D;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(6, 30, 41, 0.08);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 2px solid transparent;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 30, 41, 0.15);
    background: #5F9598;
    color: white;
    border-color: #5F9598;
}

.contact-link img {
    width: 24px;
    height: 24px;
}

/* Footer */
footer {
    background: #061E29;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    color: rgba(243, 244, 244, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .about h2,
    .skills h2,
    .portfolio h2,
    .blog h2,
    .contact h2 {
        font-size: 2rem;
    }

    .about p {
        text-align: left;
    }

    /* About section mobile */
    .about {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .personal-image-holder img {
        max-width: 400px;
    }

    .about-content {
        width: 100%;
    }

    .about h2 {
        text-align: left;
    }

    .about p {
        font-size: 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 0;
    }

    nav {
        flex-direction: row;
        gap: 1rem;
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #061E29 0%, #1D546D 100%);
        padding: 1.5rem;
        gap: 1rem;
        width: 100%;
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 0.5rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem 2rem;
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        margin: 0.4rem 0.2rem;
        display: block;
        width: 90%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.5rem;
    }

    .contact-links {
        gap: 0.8rem;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-link {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .about {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .personal-image-holder {
        width: 100%;
        max-width: 100%;
    }

    .personal-image-holder img {
        max-width: 100%;
        width: 100%;
    }

    .about h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .about p {
        text-align: justify;
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-card h3 {
        font-size: 1.1rem;
    }

    .skill-icon {
        width: 50px;
        height: 50px;
    }

    .skill-card li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .blog-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        margin-bottom: 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .portfolio h2,
    .blog h2,
    .contact h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact p {
        font-size: 1rem;
    }
}