/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    background-color: #006080;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        padding: 40px;
    }
}

/* Profile Image */
.profile-img-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
    margin-bottom: 30px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .profile-img-container {
        margin-right: 40px;
        margin-bottom: 0;
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Content */
.hero-content {
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 768px) {
    .buttons {
        justify-content: flex-start;
    }
}

.btn {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: white;
    color: #333;
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

.btn-secondary {
    background-color: #FFD700;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e6c200;
}

/* Main Content Area - Side by Side Layout */
.main-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
        gap: 30px;
    }
}

/* Fixed Navigation Styling - Modified for better mobile experience */

/* Base styles for all screen sizes */
.nav-menu {
    margin-bottom: 30px;
    background-color: #f8f8f8;
}

.nav-item {
    padding: 15px 20px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    background-color: #f0f0f0;
}

.nav-item.active {
    border-left: 4px solid #006080;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
}

/* Mobile Styles (default) */
.main-content {
    display: flex;
    flex-direction: column;
}

/* Hamburger menu for mobile */
.mobile-menu-toggle {
    display: block;
    background: #006080;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
    font-weight: 500;
}

.mobile-menu-toggle i {
    margin-right: 10px;
}

/* Hide the nav menu by default on mobile */
.nav-menu {
    display: none;
    width: 100%;
}

/* When nav is toggled open on mobile */
.nav-menu.open {
    display: block;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
        gap: 30px;
    }
    
    /* Hide mobile menu toggle on desktop */
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Always show nav menu on desktop */
    .nav-menu {
        display: block;
        position: sticky;
        top: 20px;
        height: fit-content;
        align-self: flex-start;
        width: 250px;
        flex-shrink: 0;
        margin-bottom: 0;
        overflow-y: auto;
        max-height: calc(100vh - 40px); /* Prevent menu from being too tall */
    }
}

/* Content Container - On Right Side */
.content-container {
    flex: 1;
}

/* Content Sections */
.content-section {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #006080;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Video Container */
.video-container {
    width: 70%;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-container::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Professional Skills Section */
.skills-container {
    margin-top: 20px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.skill-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.skill-name {
    font-weight: 500;
}

.skill-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #2d8742;
    border-radius: 5px;
}

/* Soft Skills Section */
.soft-skills-container {
    display: flex;
    align-items: center;
}

.soft-skills-list {
    flex: auto;
}

.soft-skill-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.soft-skill-icon {
    width: 25px;
    height: 25px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FF8C5A;
    font-size: 1.2rem;
}

.soft-skill-text {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .soft-skills-container {
        flex-direction: column;
    }
    
    .soft-skills-circle {
        margin-right: 0;
        margin-bottom: 30px;
    }
}
