
:root {
    --primary: #ffffff;
    --secondary: #f7f5f6;
    --accent: #000000;
    --text: #333333;
    --highlight: #ff2d55;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Avenir Next', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.logo span {
    color: var(--highlight);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--highlight);
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text);
}

.hero-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 30px;
    object-fit: cover;
    border: 5px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    border: none;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

/* About Section */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--highlight);
    border-radius: 2px;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Skills Section */
.skills {
    background-color: var(--secondary);
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--highlight);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Grid layout for skills and competencies */
.skills-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Skills styling */
.section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.title-underline {
    width: 70px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.skill-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-icon {
    font-size: 1.2rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--check-color);
    font-weight: bold;
}

/* Competencies styling */
.competencies-container {
    margin-top: 5px;
}

.competency-item {
    margin-bottom: 18px;
}

.competency-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.competency-name {
    font-size: 0.95rem;
}

.competency-percentage {
    font-weight: 600;
    color: var(--accent-color);
}

.progress-bar {
    height: 8px;
    background-color: var(--progress-bar-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--progress-fill);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Make sure Competencies card is wider */
.skill-card:last-child {
    grid-column: auto / span 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-card:last-child {
        grid-column: auto;
    }
}

/* Experience Section */
/* Base styling */
.work-experience-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.title-underline {
    width: 70px;
    height: 4px;
    background-color: #ff3366;
    margin: 0 auto 40px;
}

/* Timeline container and vertical line */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

/* Timeline entries */
.timeline-entry {
    display: flex;
    position: relative;
    margin-bottom: 100px;
}

.timeline-left {
    flex: 1;
    padding-right: 50px;
    text-align: right;
}

.timeline-center {
    width: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.timeline-right {
    flex: 1;
    padding-left: 50px;
    text-align: left;
}

/* Timeline elements */
.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: #ff3366;
    border-radius: 50%;
}

.timeline-date-pill {
    display: inline-block;
    background-color: #ff3366;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Content styling */
.job-title {
    font-size: 1.7rem;
    margin-bottom: 5px;
    color: #333;
}

.company-name {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
    font-weight: normal;
}

.job-responsibilities {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
}

.timeline-left .job-responsibilities {
    padding-left: 0;
    padding-right: 20px;
    text-align: right;
}

.job-responsibilities li {
    margin-bottom: 10px;
    color: #555;
}

/* Skills styling */
.skills-container {
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.skills-container h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.skills-list {
    list-style-type: none;
    padding: 0;
}

.timeline-left .skills-list {
    text-align: right;
}

.timeline-right .skills-list {
    text-align: left;
}

.skills-list li {
    margin-bottom: 5px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-entry {
        flex-direction: column;
    }
    
    .timeline-left, .timeline-right {
        width: 100%;
        text-align: left;
        padding: 0 0 0 30px;
    }
    
    .timeline-center {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 20px;
    }
    
    .timeline-line {
        left: 10px;
    }
    
    .timeline-left .job-responsibilities {
        text-align: left;
        padding-left: 20px;
        padding-right: 0;
    }
    
    .timeline-left .skills-list {
        text-align: left;
    }
}
/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent);
}

.project-description {
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tag {
    background-color: var(--secondary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--highlight);
}

/* Education & Certification */
.education {
    background-color: var(--secondary);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.education-card {
    background-color: var(--primary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.education-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
}

.education-title {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 5px;
}

.education-subtitle {
    color: var(--text);
    font-weight: 500;
}

.education-date {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

.education-description {
    margin-top: 15px;
}



/* Achievements */
.achievements-list {
    max-width: 800px;
    margin: 0 auto;
}

.achievement-item {
    background-color: var(--primary);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--highlight);
    flex-shrink: 0;
}

.achievement-content {
    flex: 1;
}

.achievement-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--accent);
}

/* Contact Section */
.contact {
    background-color: var(--secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: var(--primary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
}

.contact-text {
    font-size: 16px;
}

.contact-form {
    background-color: var(--primary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--highlight);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background-color: var(--accent);
    color: var(--primary);
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #333;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--accent);
    color: var(--primary);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-about {
    max-width: 300px;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
}


/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
    animation: fadeIn 1s ease forwards;
}

.stagger > * {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }
