/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: white;
    background: #000000;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    text-align: center;
    background: linear-gradient(135deg, #166534 0%, #22c55e 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(22, 101, 52, 0.3);
    position: relative;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header .title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.header .subtitle {
    font-size: 1.2rem;
    color: #c0c0c0;
    font-weight: 400;
}

/* Section Styles */
section {
    margin-bottom: 50px;
}

section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 2px;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #22c55e;
    transform: translateY(-3px);
}

.contact-item h3 {
    color: #22c55e;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.contact-item a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Navigation Section */
.navigation-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.nav-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #22c55e;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.nav-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.nav-content p {
    color: #e0e0e0;
    margin-bottom: 8px;
}

.nav-details {
    color: #22c55e !important;
    font-weight: 500;
    font-size: 1rem;
}

.nav-highlights {
    list-style: none;
    margin-top: 15px;
}

.nav-highlights li {
    color: #c0c0c0;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.nav-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.nav-actions {
    margin-top: 25px;
    text-align: center;
}

.nav-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* Skills Section */
.skills-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #22c55e;
    transform: translateY(-3px);
}

.skill-category h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.7;
}

/* Back Button Styles */
.back-button-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.back-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
    color: white;
    text-decoration: none;
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-button::before {
    content: '←';
    margin-right: 8px;
    font-weight: bold;
    color: #22c55e;
    transition: all 0.3s ease;
}

.back-button:hover::before {
    color: #16a34a;
    transform: translateX(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .header .title {
        font-size: 1.2rem;
    }
    
    .header .subtitle {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .navigation-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-item {
        padding: 20px;
    }
    
    .contact-section,
    .navigation-section,
    .skills-section,
    .about-section {
        padding: 25px;
    }
    
    .back-button-container {
        top: 15px;
        left: 15px;
    }
    
    .back-button {
        padding: 10px 16px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .back-button::before {
        margin-right: 6px;
    }
    
    .header {
        padding: 50px 30px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .nav-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .contact-item,
    .nav-item,
    .skill-category {
        padding: 20px;
    }
    
    .back-button-container {
        top: 10px;
        left: 10px;
    }
    
    .back-button {
        padding: 8px 14px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .back-button::before {
        margin-right: 5px;
    }
    
    .header {
        padding: 40px 20px;
    }
}
