body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
a,
span,
div,
section,
header,
footer {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: #f0f9ff;
    color: #1e293b;
}

#hero {
    width: 100%;
    height: 50vh;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd, #7dd3fc, #0ea5e9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 50px;
    color: #FFFFFF;
}

#hero h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #FFFFFF;
}

#hero button {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border: 1px solid #0ea5e9;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transition: all 0.3s ease;
}

#hero button:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

#hero p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

nav {
    width: 100%;
    color: #1e293b;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 5%;
    padding-top: 10px;
    padding-bottom: 10px;
}

nav a {
    color: #1e293b;
    margin-right: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

nav a:hover {
    color: #0284c7;
    text-shadow: 0 0 1px rgba(2, 132, 199, 0.3);
}

nav ul {
    display: none;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 10px rgba(14, 165, 233, 0.2);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-left: 1px solid rgba(186, 230, 253, 0.3);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    list-style: none;
    padding: 80px 0 0 0;
    margin: 0;
    height: 100vh;
}

.mobile-nav a {
    text-decoration: none;
    color: #0c4a6e;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    width: 200px;
}

.mobile-nav a:hover {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    transform: translateX(5px);
}

header {
    position: fixed;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: row;
    background-color: rgba(240, 249, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1e293b;
    padding: 10px 5%;
    min-height: 50px;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.1);
    border-bottom: 1px solid rgba(186, 230, 253, 0.3);
    z-index: 9997;
}

header h1 {
    font-size: 1.5rem;
    white-space: nowrap;
    color: #1e293b;
}



#cv-button {
    display: block;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
    border: 1px solid #0ea5e9;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    height: 36px;
    text-decoration: none;
    text-wrap: nowrap;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
    transition: all 0.3s ease;
}

#cv-button:hover {
    background: linear-gradient(135deg, #0369a1, #0284c7);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    border-color: #0284c7;
}







.footer {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 10px 40px;
    color: #0c4a6e;
    gap: 10px;
    border-top: 1px solid rgba(186, 230, 253, 0.3);
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1e293b;
    border-radius: 3px;
    transition: all 0.3s ease;
}


.footer a {
    text-decoration: none;
    color: #1e293b;
}

.section {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 5%;
}

.section a {
    text-decoration: underline;
    color: #1e293b;
}

.section p {
    max-width: 100%;
    margin: 0 auto 15px auto;
    text-align: center;
    line-height: 1.6;
}

.section h2 {
    margin-bottom: 20px;
    text-align: center;
}

.about-card {
    background: rgba(240, 249, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.08);
    border: 1px solid #e0f2fe;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    width: 100%;
    z-index: 0;

}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.12);
    border-color: #bae6fd;
}

about-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    color: white;
}

.about-content {
    width: 100%;
}

.about-content h3 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
}


.about-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-content li {
    color: #64748b;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 20px;
}

.about-content li:before {
    content: "▸";
    color: #0284c7;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.achievements {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.achievement {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0c4a6e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
    box-shadow: 0 1px 3px rgba(14, 165, 233, 0.1);
}

.tech-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tag {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0c4a6e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
    box-shadow: 0 1px 3px rgba(14, 165, 233, 0.1);
}

/* Skills Grid - Mobile First */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 20px;
    width: 100%;
    margin-top: 30px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.08);
    border: 1px solid #e0f2fe;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.skill-card h3 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

.skill-card p {
    color: #64748b;
    line-height: 1.6;
}


.cards-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}


.projects-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.project-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.project-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5px;
    gap: 15px;
    margin-top: auto;
    border-radius: 10px;
    border: 1px solid #1e293b; 
    background-color: #e0f2fe;
}

.project-link:hover {
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.12);
    border-color: #bae6fd;
    transition: all 0.3s ease;
    transform: scale(1.02);
}

.project-links a {
    text-decoration: none;
    color: #1e293b;
}

.project-card {
    background: rgba(240, 249, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.08);
    border: 1px solid #e0f2fe;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
    min-height: 500px;
    justify-content: space-between;
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.12);
    border-color: #bae6fd;
    transition: all 0.3s ease;
}

.project-card p {
    padding-top: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-image {
    width: 100%;
    height: 250px;
    max-width: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.08);
    border: 1px solid #e0f2fe;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.12);
    border-color: #bae6fd;
}

.card h4 {
    margin-bottom: 10px;
}

.card p {
    color: #64748b;
    margin-bottom: 15px;

}

.card button {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
    border: none;
    cursor: pointer;
    padding: 10px 20px;

    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
    transition: all 0.3s ease;
}

.card button:hover {
    background: linear-gradient(135deg, #0369a1, #0284c7);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.container {
    padding: 2px 16px;
}

/* Contact Section Styling */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(240, 249, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.08);
    border: 1px solid #e0f2fe;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
    border-color: #bae6fd;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: white;
}

.contact-content {
    flex: 1;
}

.contact-content h3 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-content a {
    color: #0284c7;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* Responsive adjustments for contact section */
@media (min-width: 768px) {
    .contact-container {
        gap: 20px;
    }
    
    .contact-item {
        padding: 30px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-content h3 {
        font-size: 1.2rem;
    }
    
    .contact-content a {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .contact-container {
        max-width: 700px;
        gap: 25px;
    }
    
    .contact-item {
        padding: 35px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .contact-icon i {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    header nav {
        display: none;
    }
}

@media (min-width: 768px) {
    header {
        padding: 10px 8%;
        min-height: 60px;
    }

    header h1 {
        font-size: 2rem;
    }

    #cv-button {
        display: block;
    }

    nav ul {
        display: flex;
    }

    .burger-menu {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    .section {
        padding: 30px 8%;
    }

    .section p {
        max-width: 600px;
    }

    .cards-container {
        flex-direction: row;
        gap: 20px;
    }

    .card {
        width: 250px;
    }

    .projects-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .project-card {
        max-width: 350px;
        flex: 1 1 350px;
    }

    .about-card {
        flex-direction: row;
        /* Horizontal layout on tablet+ */
        text-align: left;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }

    .about-icon {
        align-self: flex-start;
    }

    .achievements,
    .tech-tags {
        justify-content: flex-start;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    header {
        padding: 10px 10%;
    }

    .about-card {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    #cv-button {
        padding: 10px 20px;
        font-size: 1rem;
        height: 40px;
    }

    .projects-container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        gap: 30px;
    }

    .project-card {
        max-width: 380px;
        flex: 1 1 380px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 columns on desktop */
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding: 40px 10%;
    }

    .section p {
        max-width: 800px;
    }
}

@media (min-width: 1440px) {
    header {
        padding: 10px 15%;
    }



    .section {
        padding: 50px 15%;
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 columns on large screens */
        max-width: 1200px;
    }

}