* {
    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, #000727 0%, #4867ff 75%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000727;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4867ff;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: white;
    color: #4867ff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4867ff;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
    background: white;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #000727, #4867ff);
    display: block;
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-info {
    background: linear-gradient(135deg, #000727, #4867ff);
    padding: 2rem;
    border-radius: 15px;
    color: white;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item strong {
    width: 80px;
    display: inline-block;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Skills Section */
#skills {
    display: flex;
}

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

.skill-category {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
    color: #4867ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #000727, #4867ff);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    padding-left: 2rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #000727, #4867ff);
}

.experience-item {
    position: relative;
    margin-bottom: 3rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-left: 2rem;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 2rem;
    width: 15px;
    height: 15px;
    background: #4867ff;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #000727;
}

.experience-item h3 {
    color: #000727;
    margin-bottom: 0.5rem;
}

.experience-item .company {
    font-weight: bold;
    color: #4867ff;
    margin-bottom: 0.5rem;
}

.experience-item .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Projects Gallery */
.project-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: #000727;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #000727, #4867ff);
    color: white;
    border-radius: 50px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 7, 39, 0.3);
}

.category-title::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #4867ff, #000727);
    border-radius: 50px;
    z-index: -1;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #4867ff;
}

.project-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #000727, #4867ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.quadro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2 , 1fr);
    overflow: visible;
}

.quadro:hover {
    padding: 15px;
    gap: 10px;
}

.project-image img {
    object-fit: fill;
    width: 100%;
    height: 100%;
}

.quadro img {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    /* object-fit: cover; */
}

.quadro img:hover {
    transform: scale(1.2);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #000727;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: bold;
}

.project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    height: fit-content;
}

.project-insights {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #4867ff;
    height: 220px;
    height: fit-content;
}

.project-insights h4 {
    color: #000727;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.project-insights p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.integration-highlight {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    margin-top: 15px;
}
        
.integration-highlight h4 {
    color: #27ae60;
    margin-bottom: 8px;
    font-size: 16px;
}

.integration-highlight p {
    color: #2d5a2d;
    margin: 0;
    font-size: 14px;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

/* Responsive */
@media (max-width: 767px) {
    footer {
            border-bottom-right-radius: 25px;
        }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* .section {
        margin-left: 2rem;
    } */

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .experience-timeline {
        padding-left: 1.5rem;
    }

    .experience-item {
        margin-left: 1.5rem;
    }

    .category-title {
        padding-inline: 70px;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: fit-content;
    }

    
}
