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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Container and Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

header a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

header a:hover {
    color: #fff;
}
.soial-icons i {
    color: #fff;
    font-size: 1.7em;
    padding-right: 10px;
}
.soial-icons a {
    color: #fff;
    font-size: 1.7em;
    padding-right: 30px;}
.soial-icons a:hover {
    color: #2563eb;
}
/* Section Styles */
section {
    background: white;
    margin: 20px 0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-2px);
}

h2 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

h3 {
    color: #444;
    font-size: 1.3em;
    margin: 15px 0 10px 0;
}

h4 {
    color: #666;
    font-size: 1.1em;
    margin: 10px 0;
}

/* Typography */
p {
    margin-bottom: 10px;
    color: #555;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    color: #555;
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.contact-info a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.skill-category {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* Experience Section */
.experience-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #764ba2;
}

.experience-item h3 {
    color: #667eea;
    margin-bottom: 5px;
}

.experience-item p {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 40px 20px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-btn {
        margin-top: 10px;
        font-size: 0.85em;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    
    section {
        padding: 20px;
    }
}

/* Back Button Styles */
.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #ffd700;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    header {
        background: #667eea;
        -webkit-print-color-adjust: exact;
    }
    
    .back-btn {
        display: none;
    }
}

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

section {
    animation: fadeInUp 0.6s ease forwards;
}

section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
