/* Global Styles */
:root {
    --primary-color: #483D8B; /* Dark Slate Blue */
    --secondary-color: #20B2AA; /* Light Sea Green */
    --accent-color: #FF69B4; /* Hot Pink */
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --background-color: #fff;
    --section-bg: #f9f9f9;
    --card-bg: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--section-bg);
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

/* Header Styles */
header {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://pjdpjsmc.manus.space/images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(44, 62, 80, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(44, 62, 80, 1);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 60%;
}

.nav-links li a {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: var(--transition);
}

.hero {
    text-align: center;
    margin-top: 4rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
}

.hero h2 {
    font-size: 2.2rem; /* Increased from 2rem */
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 500; /* Increased from 400 */
    font-style: italic; /* Added italic style */
}

.location {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

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

.competency-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.competency-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.competency-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.competency-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Experience Section */
.experience-item {
    margin-bottom: 4rem;
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--secondary-color);
}

.experience-header {
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.experience-meta {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

.engagement {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.engagement h5 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.experience-item ul, .engagement ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.experience-item ul li, .engagement ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.experience-item ul li::before, .engagement ul li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Leadership Section */
.leadership-item {
    margin-bottom: 3rem;
}

.leadership-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.leadership-meta {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

.leadership-item ul {
    padding-left: 1.5rem;
}

.leadership-item ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.leadership-item ul li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Speaking Section */
.speaking-list {
    max-width: 800px;
    margin: 0 auto;
}

.speaking-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.speaking-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

footer .social-links {
    margin-top: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
    }
    
    .nav-links li {
        opacity: 0;
        margin: 1.5rem 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        width: 70%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .experience-header h3 {
        font-size: 1.5rem;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Profile Picture Styling */
.profile-pic {
    float: left;
    width: 150px; /* Adjust size as needed */
    height: 150px; /* Adjust size as needed */
    border-radius: 50%; /* Makes it circular */
    margin-right: 2rem; /* Space between image and text */
    margin-bottom: 1rem; /* Space below image */
    object-fit: cover; /* Ensures image covers the area without distortion */
    object-position: center 15%; /* Focus 15% from top */
    box-shadow: var(--shadow);
}

/* Clearfix for about-content to contain floated image */
.about-content::after {
    content: "";
    clear: both;
    display: table;
}

/* Responsive adjustments for profile pic */
@media screen and (max-width: 768px) {
    .profile-pic {
        float: none; /* Center image on smaller screens */
        display: block;
        margin: 0 auto 2rem auto; /* Center and add space below */
        width: 120px;
        height: 120px;
    }
}

