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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* Header/Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(156, 168, 156, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: #333;
}

/* Home Section */
#home {
    min-height: 100vh;
    background: white;
    padding: 8rem 2rem 2rem;
    display: flex;
    align-items: center;
}

.home-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.home-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.highlight {
    display: block;
    font-size: 3.5rem;
    font-weight: bold;
    color: #9ca89c;
    margin-top: 0.5rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 300;
}

.tagline {
    font-size: 1.1rem;
    color: #9ca89c;
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 400;
}

/* Tech icons grid */
.tech-icons {
    display: grid;
    grid-template-columns: repeat(4, 70px);
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-icons i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-icons i:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Specific icon colors */
.fa-database { color: #00758F; }
.fa-react { color: #61DAFB; }
.fa-code { color: #02569B; }
.fa-hashtag { color: #68217A; }
.fa-microsoft { color: #0078D4; }
.fa-github { color: #181717; }
.fa-js { color: #F7DF1E; }
.fa-html5 { color: #E34F26; }
.fa-python { color: #3776AB; }

/* Download CV button */
.download-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #9ca89c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #7a8a7a;
}

/* Profile image */
.home-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 5px solid #9ca89c;
}

/* Section Styling */
section {
    padding: 6rem 2rem;
}

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

/* About Section */
#about {
    background: #f5f5f5;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.skill-category h3 {
    margin-bottom: 1rem;
    color: #9ca89c;
    font-size: 1.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.skill-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9ca89c;
    font-weight: bold;
}

/* Projects Section */
#projects {
    background: white;
}

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

.project-card {
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.project-info p {
    color: #666;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #9ca89c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #9ca89c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-link:hover {
    background: #7a8a7a;
}

/* Certificates Section */
#certifications {
    background: #f5f5f5;
}

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

.certificate-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-card i {
    font-size: 3rem;
    color: #9ca89c;
    margin-bottom: 1rem;
}

/* Certificate badge images */
.cert-badge {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: contain;
}

.certificate-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.certificate-card p {
    color: #666;
}

.cert-date {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

/* Contact Section */
#contact {
    background: white;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

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

.contact-card {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: #9ca89c;
    color: white;
}

.contact-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #9ca89c;
}

.contact-card:hover i {
    color: white;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    color: #666;
}

.contact-card:hover p {
    color: white;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .home-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 6rem;
    }
    
    .home-content h2 {
        font-size: 2rem;
    }
    
    .highlight {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .tech-icons {
        grid-template-columns: repeat(3, 60px);
        justify-content: center;
        margin: 0 auto 2rem;
        gap: 0.75rem;
    }
    
    .tech-icons i {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .home-image img {
        max-width: 300px;
        height: 300px;
        width: 300px;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav a {
        font-size: 0.8rem;
    }
    
    .home-content h2 {
        font-size: 1.5rem;
    }
    
    .highlight {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .tech-icons {
        grid-template-columns: repeat(3, 50px);
        gap: 0.5rem;
    }
    
    .tech-icons i {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .download-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .home-image img {
        width: 250px;
        height: 250px;
    }
}