* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.profile-initial {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    margin: 0 auto 30px;
    border: 4px solid rgba(255,255,255,0.2);
}

.name {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.title {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 10px;
}

.age {
    font-size: 1.1rem;
    opacity: 0.7;
    font-weight: 300;
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

.section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1a252f;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

/* Education Section */
.education-grid {
    display: grid;
    gap: 30px;
}

.education-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.institution {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 5px;
}

.degree {
    font-size: 1.1rem;
    font-weight: 500;
    color: #3498db;
    margin-bottom: 8px;
}

.period {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 30px;
}

.experience-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 8px;
}

/* Skills Section */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skills-category {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-top: 5px solid #27ae60;
    text-align: center;
    transition: all 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.skills-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 20px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-tag {
    background: #e8f4f8;
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #bdc3c7;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #3498db;
    color: white;
    transform: scale(1.02);
}

/* Contact Section */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    background: none;
    padding: 0;
    border: none;
    display: block;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.contact-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.contact-icon.facebook { background: #1877f2; }
.contact-icon.linkedin { background: #0a66c2; }
.contact-icon.whatsapp { background: #25d366; }
.contact-icon.gmail { background: #ea4335; }

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-info {
    display: none;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    gap: 30px;
}

.certification-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.certification-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 10px;
}

.certification-item p {
    color: #5d6d7e;
    margin-bottom: 15px;
    line-height: 1.6;
}

.cert-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Projects Section */
.projects-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.projects-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.project-card {
    min-width: 100%;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(0,0,0,0.1) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.1) 75%), 
                linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.project-image.java { background: linear-gradient(135deg, #ED8B00 0%, #FF6B35 100%); }
.project-image.cms { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-date {
    color: #7f8c8d;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-date::before {
    content: '📅';
    font-size: 0.9rem;
}

.project-description {
    color: #5d6d7e;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech .tech-tag {
    background: #e8f4f8;
    color: #2c3e50;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #bdc3c7;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-btn {
    background: #3498db;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: scale(1);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #3498db;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .project-image {
        height: 150px;
        font-size: 2rem;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
}

.tech-tag {
    background: #e8f4f8;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #bdc3c7;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 60px 0;
    }
    
    .header-content {
        padding: 0 20px;
    }
    
    .name {
        font-size: 2.2rem;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .section {
        padding: 0 20px;
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .education-item,
    .experience-item,
    .certification-item,
    .project-item {
        padding: 25px;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
}

/* Subtle animations */
.section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}