/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Header */
.header {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
}

/* Full-page sizing */
html, body {
    height: 100%;
}

/* Container */
.container-narrow {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Section */
.section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.section h2 {
    color: #20c997;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/* Item */
.item {
    border-left: 4px solid #20c997;
    padding-left: 16px;
    margin-bottom: 18px;
}

.item-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.item-title {
    font-size: 1.2rem;
    color: #343a40;
}

.item-meta {
    color: #6c757d;
    font-size: 0.95rem;
}

.item-subtitle {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 4px;
}

/* Bullets */
.bullets {
    margin: 8px 0 0 0;
    padding-left: 18px;
}

.bullets li {
    margin-bottom: 6px;
    color: #495057;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tag {
    background: #e9f7f2;
    border: 1px solid #20c99733;
    color: #129c79;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.85rem;
}

/* Skills List */
.skills-list {
    margin-top: 8px;
}

.skill-item {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 6px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.skill-item:last-child {
    border-bottom: none;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.project-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.project-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.project-title a {
    color: #343a40;
    text-decoration: none;
    font-size: 1.1rem;
}

.project-title a:hover {
    color: #20c997;
    text-decoration: none;
}

.project-desc {
    color: #495057;
    margin: 4px 0 8px 0;
}

/* Contact */
.contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.contact a {
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact a:hover {
    background: rgba(255,255,255,0.32);
}

/* Two-column layout */
.layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
}

.left-col {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    flex-direction: column;
}

.right-col {
    flex: 1 1 75%;
    max-width: 75%;
}

.profile h1 {
    font-size: 2rem;
    margin: 0 0 6px 0;
    color: #20c997;
}

.profile p {
    margin: 0;
    color: #495057;
}

.profile .contact a {
    color: #20c997;
    background: #e9f7f2;
}

.profile .contact a:hover {
    background: #d9f0ea;
}

/* Left column teal container and profile image */
.left-container {
    background: linear-gradient(160deg, #20c997 0%, #17a2b8 100%);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 10px;
    color: #ffffff;
    flex: 1 1 auto;
    width: 100%;
}

.profile-photo {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.8);
    display: block;
    margin: 0 auto 16px auto;
}

.profile-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    padding: 16px;
}

.profile-card h1 {
    color: #000000;
}

.profile-card h2 {
    color: #000000;
}

.profile-card p {
    color: #6c757d;
}

/* Collapsible Experience */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.collapsible-content.expanded {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.collapse-toggle {
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 8px;
    margin-top: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.collapse-toggle:hover {
    background-color: #e9f7f2;
}

.collapse-toggle i {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.collapse-toggle.expanded i {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 992px) {
    .layout {
        flex-direction: column;
    }
    .left-col, .right-col {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 { font-size: 2.2rem; }
    .header p { font-size: 1rem; }
}


