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

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

main, header {
    max-width: 800px;
    margin: 0 auto 20px auto;
    background-color: rgba(255, 255, 255, 0.95); 
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(10px); 
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  line-height: 1.6;
  color: #333; 
  padding: 20px;
}

header {
  text-align: center;
}

h1 {
  color: #1E3070;
  margin-bottom: 5px; 
}

h3 {
  color: #3f5871; 
  font-weight: normal; 
  margin-bottom: 20px; 
}

section {
  margin-bottom: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
}

nav a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-photo {
    flex-shrink: 0;
}

.about-photo img {
    width: 300px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-photo {
        order: -1; 
        text-align: center;
    }
    
    .about-photo img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.skill {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.skill-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1em;
}

.skill-percent {
    font-weight: bold;
    color: #3498db;
    font-size: 0.9em;
}

.skill-bar {
    width: 100%;
    height: 12px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-progress[data-width="100"] {
    background: linear-gradient(90deg, #27ae60, #2ecc71); 
}

.skill-progress[data-width="65"] {
    background: linear-gradient(90deg, #3498db, #2980b9); 
}

.skill-progress[data-width="30"] {
    background: linear-gradient(90deg, #e74c3c, #c0392b); 
}

@keyframes fillProgress {
    from { width: 0%; }
    to { width: attr(data-width); }
}

@media (max-width: 768px) {
    .skills-container {
        gap: 20px;
    }
    
    .skill-bar {
        height: 10px;
    }
    
    .skill-name {
        font-size: 1em;
    }
}

.contact-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.fade-in-up {
    animation-name: fadeInUp;
}

.fade-in-left {
    animation-name: fadeInLeft;
}

.fade-in-right {
    animation-name: fadeInRight;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }