* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    min-height: 100vh;
    animation: fadeInBody 1s ease-out;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}
nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e74c3c;
    cursor: pointer;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-menu li a:hover {
    color: #e74c3c;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
header {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 5rem 0 3rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    margin-top: 70px; /* Account for fixed nav */
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.header-text {
    text-align: left;
}
header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
section {
    background: rgba(255, 255, 255, 1);
    margin: 2rem 2rem;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
section.reveal {
    opacity: 1;
    transform: translateY(0);
}
h2 {
    font-family: 'Poppins', sans-serif;
    color: #e74c3c;
    margin-bottom: 1rem;
    position: relative;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 2px;
}
#about p {
    text-align: justify;
}
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}
.skill {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.skill:hover {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 107, 107, 0); }
}
#projects .project:nth-child(n+4) {
    display: none;
}
.project {
    margin-bottom: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}
.project:last-child {
    border-bottom: none;
    margin-bottom: 1rem;
}
.project p {
    text-align: justify;
}
.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.company-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.show-more-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    width: 100%;
}
#show-more-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    display: inline-block;
    margin: 0;
}
#show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}
.project:hover {
    transform: translateY(-5px);
}
.project h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}
.project a, .view-project-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.project a:hover, .view-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-info a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info i {
    margin-right: 0.5rem;
    color: #e74c3c;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-out;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close:hover {
    color: #e74c3c;
}
.modal-images {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.modal-images img {
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}
.slider-btn {
    display: none;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.slider-btn:hover {
    background: #e74c3c;
    color: white;
}
.slider-container {
    overflow: hidden;
}
.slider-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}
.slider-dot.active {
    background: #e74c3c;
}
.modal-tech {
    margin: 1rem 0;
}
.modal-tech h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}
#modal-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
#modal-tech-list span {
    background: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
}
.modal-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}
.modal-links a {
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.modal-links a:hover {
    transform: translateY(-2px);
}
.modal-links a.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
    .modal-images {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .slider-btn {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid #e74c3c;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
        color: #e74c3c;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    .slider-btn:hover {
        background: #e74c3c;
        color: white;
    }
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
    .slider-container {
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .modal-images img.active {
        position: relative;
        z-index: 1;
    }
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    .modal-images img {
        width: 100%;
        max-width: 300px;
        display: none;
    }
    .modal-images img.active {
        display: block;
    }
}
footer {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 1);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 1rem 0;
    }
    header h1 {
        font-size: 2rem;
    }
    header {
        padding: 3rem 0 2rem;
        margin-top: 70px;
    }
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    .header-text {
        text-align: center;
    }
    .profile-img {
        width: 120px;
        height: 120px;
    }
    section {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }
    .skills {
        justify-content: flex-start;
        gap: 0.75rem;
    }
    .skill {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    section {
        padding: 1.5rem 0.5rem;
    }
    .skill {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    .project {
        margin-bottom: 1rem;
    }
}
@keyframes snowfall {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}
.snowflake {
    position: absolute;
    top: -10px;
    z-index: 100;
    pointer-events: none;
    font-size: 1em;
    color: white;
    opacity: 0.8;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}