/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 200px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid #e2e8f0;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed .sidebar-header {
    padding: 1rem 0.5rem;
    text-align: center;
}

.sidebar.collapsed .sidebar-logo,
.sidebar.collapsed .sidebar-subtitle {
    display: none;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 0.75rem;
    margin-right: 0;
}

.sidebar.collapsed .nav-link span {
    display: none;
}



.sidebar-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.sidebar-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
}

.sidebar-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.sidebar.collapsed .sidebar-toggle {
    right: 0.5rem;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 400;
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
    margin-right: 1rem;
}

.nav-link:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border-right: 3px solid #3b82f6;
}

.nav-link i {
    width: 20px;
    text-align: center;
}



/* Edit Button */
.edit-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin: 1rem 1.5rem 0;
    width: calc(100% - 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.edit-btn:hover {
    background: #2563eb;
}

.sidebar.collapsed .edit-btn {
    margin: 1rem 0.5rem;
    width: calc(100% - 1rem);
    justify-content: center;
}

.sidebar.collapsed .edit-btn span {
    display: none;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    background: white;
    padding: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: #1e293b;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 200px;
    transition: margin-left 0.3s ease;
}

.main-content.sidebar-collapsed {
    margin-left: 60px;
}



/* Buttons */
.btn-primary {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #64748b;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-resume {
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-resume:hover {
    background: #059669;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #1e293b;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.hero-bio {
    margin-bottom: 2rem;
}

.hero-bio p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.hero-summary {
    margin-bottom: 2.5rem;
}

.hero-summary p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.career-highlights,
.certifications,
.values-statement {
    margin-bottom: 2.5rem;
    text-align: left;
}

.career-highlights h3,
.certifications h3,
.values-statement h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.career-highlights p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.career-highlights ul,
.certifications ul {
    list-style: none;
    padding-left: 0;
}

.career-highlights li,
.certifications li {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.career-highlights li:before,
.certifications li:before {
    content: "▸";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.values-statement p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    font-style: italic;
}

.about-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
}

.detail-item i {
    color: #3b82f6;
}

/* Skills Section */
.skills {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skills-content {
    max-width: 1200px;
    margin: 0 auto;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.category-title {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.skill-card {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.skill-card.certification {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #3b82f6;
}

.skill-card.certification:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Projects Section */
.projects {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.projects-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

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

.project-title {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-role {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-description p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-security,
.project-tech {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 3px solid #3b82f6;
}

.project-security strong,
.project-tech strong {
    color: #1e293b;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-links .btn-primary {
    background: #3b82f6;
    color: white;
}

.project-links .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.project-links .btn-secondary {
    background: #64748b;
    color: white;
}

.project-links .btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.contact-item a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3b82f6;
}

.contact-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.contact-actions .btn-resume {
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-actions .btn-resume:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Custom Sections */
.custom-section {
    background: white;
}

.custom-section:nth-child(even) {
    background: #f8fafc;
}

.custom-section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.custom-section-content h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.custom-section-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        left: -200px;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        margin: 1rem;
        padding: 80px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.25rem;
    }

    .hero-bio p {
        font-size: 1rem;
    }

    .hero-summary p {
        font-size: 0.95rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .admin-panel {
        width: 100%;
        right: -100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-details {
        flex-direction: column;
        gap: 1rem;
    }

    .about {
        margin: 1rem;
    }

    .career-highlights,
    .certifications,
    .values-statement {
        margin-bottom: 2rem;
    }

    .career-highlights h3,
    .certifications h3,
    .values-statement h3 {
        font-size: 1.25rem;
    }

    .career-highlights p,
    .career-highlights li,
    .certifications li {
        font-size: 0.95rem;
    }

    .values-statement p {
        font-size: 1rem;
    }

    .skills {
        margin: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
    }

    .category-title {
        font-size: 1.25rem;
    }

    .skill-card {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .projects {
        margin: 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-links a {
        justify-content: center;
    }

    .contact {
        margin: 1rem;
    }

    .contact-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .admin-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        margin: 0.5rem;
        padding: 60px 0 40px;
    }

    .about {
        margin: 0.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .hero-bio p {
        font-size: 0.9rem;
    }

    .hero-summary p {
        font-size: 0.85rem;
    }

    .skills {
        margin: 0.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .skill-card {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .projects {
        margin: 0.5rem;
    }

    .project-card {
        padding: 1rem;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .project-role {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .project-security,
    .project-tech {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .contact {
        margin: 0.5rem;
    }

    .contact-intro {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-actions .btn-resume {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}