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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    color: #fff;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #ff4444;
}

.admin-link {
    color: #ff4444 !important;
}

section {
    min-height: 100vh;
    padding: 6rem 5% 2rem;
}

.education, .achievements {
    min-height: auto;
    padding: 4rem 5% 2rem;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
}

.profile-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ff4444;
    box-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

.hero-text {
    flex: 1;
}

.greeting {
    font-size: 1.5rem;
    color: #aaa;
}

.hero-text h1 {
    font-size: 5rem;
    margin: 0.5rem 0;
}

.role {
    font-size: 2rem;
    margin: 1rem 0;
}

.highlight {
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    transition: opacity 0.3s ease;
}

.description {
    font-size: 1.1rem;
    color: #aaa;
    margin: 1.5rem 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid #ff4444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #ff4444;
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
}

.social-icon:hover img {
    transform: scale(1.2);
}

.hire-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid #ff4444;
    color: #fff;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.hire-btn:hover {
    background: #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.service-card, .skill-card, .education-card, .achievement-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 68, 68, 0.2);
    transition: all 0.3s;
}

.service-card:hover, .skill-card:hover, .education-card:hover, .achievement-card:hover {
    transform: translateY(-10px);
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.4);
}

.service-icon, .skill-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card h3, .skill-card h3, .education-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p, .education-card p {
    color: #aaa;
}

.view-fiverr-btn {
    display: block;
    margin: 3rem auto 0;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid #ff4444;
    color: #fff;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-fiverr-btn:hover {
    background: #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.services a {
    text-decoration: none;
}

.education-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.education-info {
    flex: 1;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.education-status {
    background: rgba(255, 68, 68, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.education-institution {
    color: #aaa;
    margin-bottom: 0.5rem;
}

.education-date {
    color: #888;
    font-size: 0.9rem;
}

.achievement-section {
    margin-bottom: 4rem;
}

.achievement-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon {
    font-size: 2rem;
}

.achievement-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.contact {
    text-align: center;
    min-height: auto;
    padding: 4rem 5% 2rem;
}

.contact-email {
    font-size: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-email a {
    color: #ff4444;
    text-decoration: none;
}

.email-icon {
    font-size: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.contact-buttons a {
    text-decoration: none;
}

.contact-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #ff4444;
    color: #fff;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #ff4444;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 68, 68, 0.2);
    color: #888;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    margin: 10% auto;
    padding: 3rem;
    border: 2px solid #ff4444;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #ff4444;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: #ff6666;
    transform: rotate(90deg);
}

.modal-content h2 {
    color: #ff4444;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 68, 68, 0.3);
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(255, 68, 68, 0.2);
    transform: translateX(10px);
}

.contact-item .contact-icon {
    font-size: 2rem;
}

.contact-label {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.contact-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.decorative-spider {
    position: absolute;
    width: 150px;
    top: 20%;
    right: 10%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.decorative-tattoo {
    position: absolute;
    width: 120px;
    bottom: 15%;
    left: 5%;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero {
    position: relative;
}

@media (max-width: 768px) {
    .decorative-spider, .decorative-tattoo {
        display: none;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-img {
        width: 300px;
        height: 300px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .services-grid, .skills-grid, .education-grid, .achievement-grid {
        grid-template-columns: 1fr;
    }
}
