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

body {
    font-family: 'Cormorant Garamond', serif;
    background: url('images/background.png') center center;
    background-size: cover;
    background-attachment: fixed;
    background-color: #d9cece;
    color: #4a4a4a;
    overflow-x: hidden;
    /* cursor: none; */
    position: relative;
}

/* Canvas for watercolor effect */
#watercolor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    /*background: rgba(232, 226, 213, 0.95); */
    background: #d9cece;
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 10000; 
    pointer-events: auto; 
    cursor: pointer;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Hero section */
.hero {
    height: 160vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 200;
}

.hero p {
    font-size: 1.2rem;
    color: #6a6a6a;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.subtitle {
    font-size: 1rem !important;
    color: #8a8a8a;
}

/* Projects Page Styles */

/* Projects Page Styles */
.projects-section {
    min-height: 100vh;
    padding: 10rem 0 4rem;
    background: url('images/background_2.png') center center;
    background-size: cover;
    background-attachment: fixed;
}

.projects-section h2 {
    text-align: center;
    font-size: 3rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    font-weight: 400;
}

.projects-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6a6a6a;
    margin-bottom: 4rem;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 200;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.project-summary {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.project-description {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(74, 74, 74, 0.1);
    color: #4a4a4a;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(74, 74, 74, 0.15);
}

.project-impact {
    font-size: 0.9rem;
    color: #6a6a6a;
    line-height: 1.5;
    padding-top: 1rem;
    border-top: 1px solid rgba(74, 74, 74, 0.1);
}

.project-impact strong {
    color: #2d2d2d;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-section {
        padding: 6rem 0 2rem;
    }
    
    .projects-section h2 {
        font-size: 2.5rem;
    }
    
    .projects-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .project-card {
        border-radius: 15px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
    
    .project-summary {
        font-size: 0.95rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}


/* Skills Page Styles */
.skills-section {
    min-height: 100vh;
    padding: 10rem 0 4rem;
    background: url('images/background_2.png') center center;
    background-size: cover;
    background-attachment: fixed;
}

.skills-section h2 {
    text-align: center;
    font-size: 3rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    font-weight: 400;
}

.skills-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6a6a6a;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Color Legend */
.color-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-text {
    font-size: 0.9rem;
    color: #5a5a5a;
    font-weight: 500;
}

/* Legend colors */
.legend-programming { background-color: #faeda4; }
.legend-web { background-color: #497e99; }
.legend-ai { background-color: #b19dbb; }
.legend-hardware { background-color: #ef891e; }
.legend-gaming { background-color: #eb9b9b; }
.legend-design { background-color: #7d8f75; }

/* Skills Grid - Closer together */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Exactly 4 columns */
    grid-template-rows: repeat(4, 1fr); /* Exactly 6 rows */
    gap: 0.8rem; /* Reduced from 1.5rem */
    max-width: 800px; /* Smaller overall width */
    margin: 0 auto;
    padding: 0 2rem;
    justify-items: center; /* Center items within grid cells */
    align-items: center; /* Center items vertically */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all children */
}

/* Individual Skill Items - Smaller padding */
.skill-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem; /* Reduced from 1.5rem */
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.skill-name {
    font-size: 0.9rem;
    color: #2d2d2d;
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s ease;
}

/* Years - Centered on image */
.skill-years {
    font-size: 1.1rem;
    color: #2d2d2d;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 55px; /* Half of image height (80px/2) + padding */
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

/* Hover Effects - Circle that matches image size */
.skill-item:hover {
    transform: translateY(-5px);
    z-index: 50000;
    position: relative;
}

.skill-item:hover img {
    opacity: 0.2;
}

.skill-item:hover .skill-name {
    opacity: 0.3;
}

.skill-item:hover .skill-years {
    opacity: 1;
}

/* Category background colors on hover - CIRCLE matching image */
.skill-item.programming:hover::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: rgba(250, 237, 164, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.skill-item.web:hover::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: rgba(73, 126, 153, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.skill-item.ai:hover::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: rgba(177, 157, 187, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.skill-item.hardware:hover::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: rgba(239, 137, 30, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.skill-item.gaming:hover::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: rgba(235, 155, 155, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.skill-item.design:hover::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: rgba(125, 143, 117, 0.3);
    border-radius: 50%;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-section {
        padding: 6rem 0 2rem;
    }
    
    .skills-section h2 {
        font-size: 2.5rem;
    }
    
    .color-legend {
        gap: 1rem;
        padding: 1rem;
    }
    
    .legend-text {
        font-size: 0.8rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
        max-width: 700px;
    }
    
    .skill-item {
        padding: 0.8rem;
    }
    
    .skill-item img {
        width: 60px;
        height: 60px;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
    
    .skill-years {
        font-size: 1rem;
        top: 30px; /* Adjusted for smaller image */
    }
    
    /* Mobile hover circles */
    .skill-item.programming:hover::before,
    .skill-item.web:hover::before,
    .skill-item.ai:hover::before,
    .skill-item.hardware:hover::before,
    .skill-item.gaming:hover::before,
    .skill-item.design:hover::before {
        width: 60px;
        height: 60px;
        top: 0.8rem;
    }
}

/* About Page Styles */
.about-section {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: url('images/background_2.png') center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About Text Section */
.about-text {
    z-index: 10;
    position: relative;
}

.about-text h1 {
    font-size: 4rem;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1;
}

.about-text h2 {
    font-size: 4rem;
    color: #2d2d2d;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1;
}

.about-text p {
    font-size: 1.1rem;
    color: #5a5a5a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* About Visual Section */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.about-profile-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .about-profile-image {
        max-width: 300px;
    }
}

/* Skill Popup */
.skill-popup {
    position: absolute;
    top: -10px;
    left: 110px; /* Position to the right of the skill item */
    background: rgba(250, 237, 164, 0.5);
    /*rgba(255, 255, 255, 0.98);*/
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
    width: auto;
    white-space: nowrap;
    border: 1px solid rgba(250, 237, 164, 0.5); /* Matches programming color */
}





.skill-popup-title {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    color: #2d2d2d;
    margin-bottom: 0.6rem;
    border-bottom: 2px solid rgba(250, 237, 164, 0.3);
    padding-bottom: 0.4rem;
}

.skill-popup-content {
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2d2d2d;
    line-height: 1.3;
    font-weight: 600;
    list-style: none;
    padding: 0;
}

.skill-popup-content div {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
    position: relative;
}

.skill-popup-content div::before {
    content: "•";
    position: absolute;
    left: -1rem;
}

.skill-level { color: #2d2d2d; font-weight: 600; }

/* Show popup on hover */
.skill-item:hover .skill-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(5px);
}

/* Hide the years when popup is shown */


/* Responsive positioning */
@media (max-width: 768px) {
    .skill-popup {
        left: -50px;
        top: -15px;
        width: 200px;
    }
}

/* Category-specific popup backgrounds */
.web-popup {
    background: rgba(73, 126, 153, 0.5);
    border: 1px solid rgba(73, 126, 153, 0.5);
}

.ai-popup {
    background: rgba(177, 157, 187, 0.5);
    border: 1px solid rgba(177, 157, 187, 0.5);
}

.hardware-popup {
    background: rgba(239, 137, 30, 0.5);
    border: 1px solid rgba(239, 137, 30, 0.5);
}

.gaming-popup {
    background: rgba(235, 155, 155, 0.5);
    border: 1px solid rgba(235, 155, 155, 0.5);
}

.design-popup {
    background: rgba(125, 143, 117, 0.5);
    border: 1px solid rgba(125, 143, 117, 0.5);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.project-content h3 a:hover {
    color: #4a4a4a;
}


/* UMMA NA Project Page Styles */
/*.project-page {
    background: url('../images/background_2.png') center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 8rem;
}*/

.project-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* Hero section - simple and clean */
/*.project-title {
    font-size: 3.5rem;
    color: #2d2d2d;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: left;
}*/

/*.project-subtitle {
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-style: italic;
}*/

/* Table of contents - minimal styling */
.table-of-contents {
    margin-bottom: 4rem;
}

.toc-title {
    font-size: 1.5rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    font-weight: 500;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.3rem;
}

.toc-list a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: #2d2d2d;
}

/* Main content sections */
.content-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.2rem;
    color: #2d2d2d;
    font-weight: 400;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(74, 74, 74, 0.2);
    padding-bottom: 0.5rem;
}

.subsection-title {
    font-size: 1.6rem;
    color: #2d2d2d;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
}

.content-text {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Role cards - clean layout */
.roles-container {
    margin: 2rem 0;
}

.role-item {
    margin-bottom: 2rem;
}

.role-title {
    font-size: 1.2rem;
    color: #2d2d2d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.role-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.role-list li {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

/* Tools section */
.tools-list {
    margin: 1rem 0;
}

.tool-category {
    margin-bottom: 0.5rem;
}

.tool-category strong {
    color: #2d2d2d;
}

/* Journey phases */
.journey-list {
    margin: 1.5rem 0;
}

.phase-item {
    margin-bottom: 1rem;
}

.phase-label {
    font-weight: 600;
    color: #2d2d2d;
}

/* Insights section */
.insights-section {
    margin: 2rem 0;
}

.insight-item {
    margin-bottom: 1.5rem;
}

.insight-title {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.insight-description {
    color: #4a4a4a;
    line-height: 1.6;
}

/* Design principles */
.principles-list {
    margin: 1.5rem 0;
}

.principle-item {
    margin-bottom: 1.5rem;
}

.principle-title {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

/* Components section */
.components-section {
    margin: 2rem 0;
}

.component-item {
    margin-bottom: 2.5rem;
}

.component-title {
    font-size: 1.3rem;
    color: #2d2d2d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.component-subtitle {
    font-style: italic;
    color: #4a4a4a;
    margin-bottom: 0.8rem;
}

.component-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.component-list li {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

/* Progress items */
.progress-section {
    margin: 2rem 0;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-title {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

/* Transform section */
.transform-section {
    margin: 2rem 0;
}

.system-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.current-system, .new-system {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
}

.system-title {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

.system-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.system-list li {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .project-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .system-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-container {
        padding: 0 1rem 2rem;
    }
}

/* ===== UMMA NA PROJECT PAGE - CLEAN VERSION ===== */

/* Hero Section */
.hero-image-section {
    width: 100%;
    margin-top: 6rem;
    display: flex;
    justify-content: center;
    background: #fff;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    display: block;
}

.hero-description {
    background: #5b3957;
    width: 100%;
    padding: 2rem 0;
}

.hero-description-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    max-width: 1600px;
}

.hero-description-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8em;
    text-align: left;
    margin: 0;
}

/* Project Content Section */
.project-content-section {
    background: url('../images/background_2.png') center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 2rem 0;
}

/* Table of Contents */
.simple-toc {
    padding: 0rem 0 0;
    background: transparent;
}

.simple-toc-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    max-width: 1600px;
}

.toc-title {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.8em;
    letter-spacing: 0em;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

.simple-toc-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.simple-toc-list li {
    margin-bottom: 0.3rem;
}

.simple-toc-list a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.6em;
    transition: color 0.3s ease;
}

.simple-toc-list a:hover {
    color: #2d2d2d;
}

/* Plum Sections */
.plum-section {
    background: #5b3957;
    width: 100%;
    padding: 3rem 0;
}

.plum-section-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    max-width: 1600px;
}

.plum-section-title {
    color: #F1BF9C;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
    text-align: left;
    font-family: 'Cormorant Garamond', serif;
}

/* Content Container */
.content-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Typography */
.subsection-title {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.8em;
    letter-spacing: 0em;
    color: #2d2d2d;
    margin: 2rem 0 1rem 0;
}

.content-text {
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0em;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

/* Hide old section titles */
.content-section .section-title {
    display: none;
}

/* Two-column layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin: 2rem 0;
}

.text-column {
    padding-right: 1rem;
}

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

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* All other elements with consistent typography */
.role-description,
.insight-description,
.principle-description,
.progress-description,
.component-list li,
.bullet-list li,
.system-list li,
.tool-item {
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0em;
    color: #4a4a4a;
}

/* Transform comparison - NO WHITE BACKGROUND */
.current-system, .new-system {
    background: transparent;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(74, 74, 74, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-description {
        padding: 1.5rem 0;
    }
    
    .hero-description-text {
        font-size: 1.2rem;
        line-height: 1.7em;
    }
    
    .hero-description-container {
        padding: 0 1.5rem;
    }
    
    .simple-toc-container {
        padding: 0 1.5rem;
    }
    
    .simple-toc-list a {
        font-size: 1rem;
    }
    
    .plum-section {
        padding: 2rem 0;
    }
    
    .plum-section-container {
        padding: 0 1.5rem;
    }
    
    .plum-section-title {
        font-size: 2rem;
    }
    
    .content-container {
        padding: 2rem 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.3rem;
    }
    
    .content-text,
    .role-description,
    .insight-description,
    .principle-description,
    .progress-description,
    .component-list li,
    .bullet-list li,
    .system-list li,
    .tool-item {
        font-size: 1rem;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-column {
        padding-right: 0;
    }

    
}


/* ===== ROLE & TOOLS SECTION ===== */
.role-tools-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0; /* Better margins from edges */
}

.subsection {
  margin-bottom: 5rem; /* More space between subsections */
}

.subsection-heading {
  font-size: 1.5rem; /* Paragraph 1 setting */
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: #2d2d2d;
  margin-bottom: 2.5rem;
  margin-left: 0;
  /*border-bottom: 2px solid #F1BF9C;*/
  padding-bottom: 0.5rem;
  padding-left: 0;
}

/* ===== ROLES GRID ===== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.role-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(91, 57, 87, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(91, 57, 87, 0.15);
}

.role-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #5b3957, #F1BF9C);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1); /* Make icons white */
}

.role-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #5b3957;
}

.role-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
}

/* ===== TOOLS CATEGORIES ===== */
.tools-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.tool-category {
  background: rgba(241, 191, 156, 0.3);
  border-radius: 12px;
  padding: 2rem;
}

.tool-category-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #5b3957;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tool-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a4a4a;
  border: 1px solid rgba(91, 57, 87, 0.1);
  transition: all 0.2s ease;
}

.tool-item:hover {
  background: rgba(91, 57, 87, 0.05);
  border-color: rgba(91, 57, 87, 0.3);
}

.tool-item img {
  width: 20px;
  height: 20px;
}

/* ===== ENHANCED TIMELINE ===== */
.timeline-container {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(241, 191, 156, 0.3);
}

.timeline-duration {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #5b3957;
  margin-bottom: 2rem;
}

.timeline-visual {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.timeline-start, .timeline-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #5b3957;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 0 4px rgba(91, 57, 87, 0.2);
}

.timeline-date {
  font-size: 1rem;
  font-weight: 600;
  color: #5b3957;
  margin-bottom: 0.25rem;
}

.timeline-phase {
  font-size: 0.85rem;
  color: #6a6a6a;
  max-width: 120px;
}

.timeline-bar {
  height: 6px;
  background: rgba(241, 191, 156, 0.3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.timeline-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #5b3957, #F1BF9C);
  border-radius: 3px;
  animation: progressFill 2s ease-out;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  align-items: start;
}

.team-member {
  text-align: center;
}

.member-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #F1BF9C;
  transition: all 0.3s ease;
}

.member-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(91, 57, 87, 0.2);
}

.member-role-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #5b3957;
  color: white;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 600;
}

.member-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 0.25rem;
}

.member-title {
  font-size: 0.9rem;
  color: #6a6a6a;
  font-style: italic;
}

.collaboration-note {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.5rem;
  background: rgba(241, 191, 156, 0.1);
  border-radius: 12px;
  border-left: 4px solid #F1BF9C;
  margin-top: 1rem;
}

.collaboration-note p {
  font-size: 0.95rem;
  color: #5a5a5a;
  font-style: italic;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .role-tools-section {
    padding: 0 2rem;
  }
  
  .subsection {
    margin-bottom: 3rem;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .tools-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline-visual {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .timeline-bar {
    order: 3;
    margin: 1rem 0;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
  }
}

/* Phases of the Journey */
.journey-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 0;
}
.journey-list li {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: rgba(91,57,87,0.05);
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1.6;
}
.journey-list li::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  width: 10px; height: 10px;
  background: #5b3957;
  border-radius: 50%;
}
.journey-list .phase-label {
  display: block;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.insight-card {
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.insight-icon {
  width: 40px;
  margin-bottom: 1rem;
}
.insight-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #2d2d2d;
}
.insight-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
}

/* Mobile fallback */
@media (max-width: 768px) {
  .journey-list { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
}





/* —— Content text slightly larger —— */
.content-text {
  font-size: 1.25rem;
  line-height: 1.7;
}

/* —— Bullet lists —— */
.bullet-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.bullet-list li {
  margin-bottom: 0.75rem;
}

/* —— Full-width media —— */
.full-width-image,
.full-width-video {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

/* —— ASCII diagram styling —— */
.content-container pre {
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.03);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
}


.hero-image-section {
  background: #fff;
  padding-top: 0; 
}

/* —— Remove unused “journey-list”/“insights-grid” rules if you’re no longer using them —— */

.site-footer {
  background: #f5f5f5;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  color: #555;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.back-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #5b3957;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.back-button:hover {
  background: #462c42;
}


/* support for architecture diagram if not already defined */
.architecture-diagram {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.diagram-box {
  background: rgba(241,191,156,0.1);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  flex: 1;
  min-width: 140px;
  text-align: center;
  border: 1px solid rgba(241,191,156,0.4);
}
.diagram-arrow {
  font-size: 1.25rem;
  align-self: center;
  margin: 0 0.25rem;
  font-weight: 700;
}

/* component-with-image layout */
.component-with-image {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.component-with-image .component-text {
  flex: 1 1 320px;
  min-width: 260px;
}
.component-with-image .component-image {
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  align-items: flex-start;
}
.app-screens,
.dashboard-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* U-GO specific white background */
.white-bg .project-content-section {
    background: #ffffff;
    background-image: none;
    background-attachment: unset;
}