/* Base Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #333;
    --text-light: #666;
    --background-color: #fff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.btn.primary:hover {
    background-color: var(--secondary-color);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.highlight {
    color: var(--primary-color);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--background-alt);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile image styling */
.profile-image {
    width: 280px;
    height: 280px;
    object-fit: cover;
    object-position: center 1%; /* Adjust this value to center the face */
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: #9ca3af;
}

/* About Section */
.about {
    background-color: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.skills {
    margin-top: 40px;
}

.skills h3 {
    margin-bottom: 20px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-list li {
    background-color: var(--background-alt);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* Featured Achievements Section */
.featured-achievements {
    background-color: var(--background-alt);
}

.featured-achievements h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.center-btn {
    text-align: center;
}

/* Page Header */
.page-header {
    background-color: var(--background-alt);
    padding: 40px 0;
}

.page-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

/* Resume Page */
.resume {
    background-color: white;
    font-family: 'Calibri', Arial, sans-serif;
}

.resume-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.resume-name {
    font-size: 20pt;
    font-weight: bold;
    color: #111827;
    margin-bottom: 8px;
    font-family: 'Calibri', Arial, sans-serif;
}

.resume-headline {
    font-size: 13pt;
    color: #1F3B4D;
    letter-spacing: 0.5pt;
    margin-bottom: 8px;
    font-family: 'Calibri', Arial, sans-serif;
}

.resume-contact-info {
    font-size: 11pt;
    color: #111827;
    font-family: 'Calibri', Arial, sans-serif;
}

.resume-section {
    margin-bottom: 30px;
}

.resume-section h3 {
    font-size: 12pt;
    font-weight: bold;
    color: #1F3B4D;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-family: 'Calibri', Arial, sans-serif;
    border-bottom: none;
    padding-bottom: 0;
}

.resume-section p, .resume-section li {
    font-size: 11pt;
    color: #111827;
    font-family: 'Calibri', Arial, sans-serif;
    line-height: 1.4;
    margin-bottom: 0;
}

.resume-section ul {
    list-style: none;
    padding-left: 0;
}

.resume-section li::before {
    content: '•';
    color: #111827;
    margin-right: 8px;
}

.resume-item {
    margin-bottom: 20px;
}

.item-header {
    margin-bottom: 0;
}

.job-title-date {
    font-size: 11pt;
    color: #111827;
    margin-bottom: 0;
    font-family: 'Calibri', Arial, sans-serif;
}

.job-title-date .job-title {
    font-weight: bold;
}

.job-title-date .date {
    font-size: 11pt;
    color: #4B5563;
    font-weight: normal;
}

.company {
    font-size: 11pt;
    color: #111827;
    margin-bottom: 0;
    margin-top: 0;
    font-family: 'Calibri', Arial, sans-serif;
}

.responsibilities {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.responsibilities li {
    margin-bottom: 3px;
    font-size: 11pt;
    color: #111827;
    font-family: 'Calibri', Arial, sans-serif;
    padding-left: 16px;
    text-indent: -16px;
}

.responsibilities li::before {
    content: '•';
    color: #111827;
    margin-right: 8px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category h4 {
    margin-bottom: 15px;
}

.resume-download {
    text-align: center;
    margin-top: 50px;
}

/* Achievements Page */
.achievements {
    background-color: white;
}

.achievement-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: var(--background-alt);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.achievement-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.achievement-item {
    display: flex;
    background-color: var(--background-alt);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.achievement-icon {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.achievement-content {
    padding: 30px;
    flex: 1;
}

.achievement-meta {
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.achievement-links {
    margin-top: 15px;
}

.achievement-links a {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.achievement-links a i {
    margin-right: 5px;
}

/* Contact Page */
.contact {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 25px;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    margin-bottom: 25px;
}

.contact-method .icon {
    background-color: var(--background-alt);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-method .details h4 {
    margin-bottom: 5px;
}

.social-connect {
    margin-top: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    background-color: var(--background-alt);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.success-message {
    color: var(--success-color);
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 5px;
}

.error-message {
    color: var(--error-color);
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    margin-bottom: 30px;
    min-width: 250px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
}

.footer-section .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-section .social-links a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero .container {
        flex-direction: column-reverse;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-top: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
        margin-bottom: 20px;
    }
    
    .resume-header {
        flex-direction: column;
    }
    
    .resume-contact {
        text-align: left;
        margin-top: 20px;
    }
    
    .item-header {
        flex-direction: column;
    }
    
    .achievement-item {
        flex-direction: column;
    }
    
    .achievement-icon {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 70px;
    }
}