:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #e5e7eb;
    --dark: #1f2937;
    --light: #f9fafb;
    --text: #374151;
    --accent: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}
.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.contact-btn {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 5%;
    text-align: center;
    background-color: var(--light);
    margin-top: 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-cta .primary-btn {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero-cta .primary-btn:hover {
    background-color: var(--primary-dark);
}

.hero-cta .secondary-btn {
    background-color: transparent;
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-cta .secondary-btn:hover {
    background-color: rgba(37, 99, 235, 0.1);
}
.about {
    padding: 6rem 5%;
    background-color: white;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-text h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.education {
    padding: 6rem 5%;
    background-color: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--secondary);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    background-color: var(--light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: calc(50% - 30px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    left: -40px;
    top: 20px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    right: -40px;
    top: 20px;
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.timeline-company {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text);
}

.certifications {
    padding: 6rem 5%;
    background-color: var(--light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.cert-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.cert-content {
    padding: 1.5rem;
}

.cert-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--dark);
}

.cert-content p {
    color: var(--text);
    font-size: 0.95rem;
}

.cert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 95, 115, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.skill-tag {
    background-color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}
.tools {
    padding: 6rem 5%;
    background-color: var(--light);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--primary);
    color: white;
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.tool-card:hover .tool-icon {
    color: white;
}

.tool-name {
    font-weight: 500;
}

.projects {
    padding: 6rem 5%;
    background-color: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: 500;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--dark);
}

.project-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    background-color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.experience {
    padding: 6rem 5%;
    background-color: white;
}

.contact {
    padding: 6rem 5%;
    background-color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text);
}
.contact .contact-container.linkedin-connect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--background-secondary);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact .linkedin-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.contact .linkedin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0A66C2;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}

.contact .linkedin-btn:hover {
    background-color: #084594;
}

.contact .linkedin-btn i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.contact .connection-description {
    max-width: 350px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 2.5rem 5%;
    text-align: center;
   
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    width: 100%;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    padding: 0.5rem;
}

.footer-nav a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary);
}

.social-icon i {
    font-size: 1.2rem;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
        right: auto;
    }
    
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 99;
        text-align: center;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cert-grid,
    .tools-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact .contact-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0 5%;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .contact-method {
        align-items: flex-start;
    }

    .contact-icon {
        min-width: 40px;
        min-height: 40px;
        
    }

    .contact-details {
        flex-grow: 1;
    }

    .contact .linkedin-connect {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .contact .linkedin-connection {
        width: 100%;
    }

    .contact .connection-description {
        max-width: 100%;
        margin: 0 auto;
    }
