/* ==================== ABOUT SECTION STYLES ==================== */

.about {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 60px;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    max-height: 2000px;
    opacity: 1;
    overflow: hidden;
}

.about.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #fff;
}

.about-content p {
    color: #b0b0c0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p:first-of-type {
    font-size: 18px;
    color: #9370db;
    margin-bottom: 30px;
}

.about-image {
    position: relative;
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    border: 2px solid #9370db;
}

.about-image img:hover {
    filter: grayscale(0%);
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.3);
}

/* ==================== CONTACT SECTION STYLES ==================== */

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-image {
        height: 300px;
    }
}

/* ==================== READ MORE EXPANDED ==================== */
.about-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0.5;
    transition: max-height 0.7s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0.0, 0.2, 1), margin 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-bottom: 0;
    will-change: max-height, opacity, margin;
    pointer-events: none;
}

.about-expanded.visible {
    max-height: 1200px; /* Large enough for content, will animate smoothly */
    opacity: 1;
    margin-bottom: 20px;
    pointer-events: auto;
}

.about-expanded p {
    color: #b0b0c0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-expanded p:last-child {
    margin-bottom: 0;
}

.read-more-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn.expanded {
    background: rgba(0, 0, 0, 0.5);
}

/* ==================== TIMELINE MODAL ==================== */
.timeline-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-modal.active {
    display: flex;
    opacity: 1;
}

.timeline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.timeline-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: auto;
    padding: 40px;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(147, 112, 219, 0.2);
    overflow-y: auto;
    z-index: 10000;
}

.timeline-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(147, 112, 219, 0.5);
    border-radius: 50%;
    color: #9370db;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-close:hover {
    background: #9370db;
    color: #fff;
    transform: rotate(90deg);
}

.timeline-title {
    text-align: center;
    font-size: 32px;
    color: #fff;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #9370db, #1ee6d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Timeline Structure */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(147, 112, 219, 0.2);
    border-radius: 3px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #9370db, #1ee6d2);
    border-radius: 3px;
    transition: height 0.8s ease;
    box-shadow: 0 0 15px rgba(147, 112, 219, 0.5);
}

/* Timeline Items */
.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 50px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Timeline Dots */
.timeline-dot {
    position: absolute;
    left: 15px;
    top: 0;
    width: 32px;
    height: 32px;
    background: rgba(30, 30, 50, 1);
    border: 3px solid rgba(147, 112, 219, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 10;
}

.timeline-item.active .timeline-dot {
    background: linear-gradient(135deg, #9370db, #1ee6d2);
    border-color: #9370db;
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.6);
    transform: scale(1.1);
}

.dot-number {
    font-size: 14px;
    font-weight: bold;
    color: rgba(147, 112, 219, 0.5);
    transition: color 0.3s ease;
}

.timeline-item.active .dot-number {
    color: #fff;
}

/* Timeline Content */
.timeline-content {
    background: rgba(147, 112, 219, 0.05);
    border: 1px solid rgba(147, 112, 219, 0.2);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-content {
    background: rgba(147, 112, 219, 0.1);
    border-color: rgba(147, 112, 219, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 20px;
    color: #9370db;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #b0b0c0;
    font-size: 14px;
    line-height: 1.7;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* Click Hint */
.click-hint {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: #9370db;
    opacity: 0;
    transition: all 0.3s ease;
    animation: pulse-hint 1.5s ease-in-out infinite;
}

.timeline-item.active .click-hint {
    opacity: 0.8;
}

.timeline-item:last-child .click-hint {
    display: none;
}

@keyframes pulse-hint {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* Skills Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.skill-tag {
    background: rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.3);
    color: #b0b0c0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.timeline-item.active .skill-tag {
    background: rgba(147, 112, 219, 0.3);
    border-color: #9370db;
    color: #fff;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 112, 219, 0.3);
}

/* Achievements List */
.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-list li {
    color: #b0b0c0;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(147, 112, 219, 0.1);
    transition: all 0.3s ease;
}

.achievements-list li:last-child {
    border-bottom: none;
}

.timeline-item.active .achievements-list li {
    color: #d0d0e0;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-container {
        padding: 25px;
        margin: 20px;
        width: calc(100% - 40px);
    }

    .timeline-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 5px;
        width: 28px;
        height: 28px;
    }

    .timeline-item {
        padding-left: 60px;
        padding-bottom: 35px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-icon {
        font-size: 24px;
    }
}

/* ==================== ABOUT EXTENDED PAGE STYLES ==================== */

.about-extended {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0015 0%, #1a0a2e 100%);
}

/* Sticky Header */
.about-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 2rem 3rem;
    box-shadow: none;
}

.about-header h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    background: linear-gradient(120deg, #f7f5ff 0%, #e0c3fc 20%, #8ec5fc 60%, #e0c3fc 80%, #f7f5ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    animation: gradient-shift 8s ease infinite;
    font-weight: 700;
}

.header-subtitle {
    color: #9370db;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Scrollable Content Area */
.about-scrollable {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2.5rem 3rem 4rem;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.about-scrollable::-webkit-scrollbar {
    width: 10px;
}

.about-scrollable::-webkit-scrollbar-track {
    background: rgba(147, 112, 219, 0.08);
    border-radius: 10px;
    margin: 10px 0;
}

.about-scrollable::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8ec5fc, #9370db);
    border-radius: 10px;
    border: 2px solid transparent;
}

.about-scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9370db, #8ec5fc);
}

/* Section Styles */
.about-section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-icon {
    font-size: clamp(1.5rem, 3vw, 2rem);
    filter: drop-shadow(0 0 10px rgba(147, 112, 219, 0.5));
}

.about-section h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #e0c3fc;
    margin: 0;
    font-weight: 600;
}

.about-section h3 {
    color: #8ec5fc;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-section p {
    color: #c8c8d8;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    max-width: 90ch;
}

/* Lead Text */
.lead-text {
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem) !important;
    color: #e0c3fc !important;
    line-height: 1.8 !important;
    font-weight: 500;
    margin-top: 1.5rem !important;
}

/* Fun Fact Card */
.fun-fact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.15), rgba(142, 197, 252, 0.08));
    border: 2px solid rgba(147, 112, 219, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.fun-fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(147, 112, 219, 0.2);
    border-color: rgba(147, 112, 219, 0.5);
}

.fun-fact-card .emoji {
    font-size: 3rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(147, 112, 219, 0.4));
}

.fun-fact-content h3 {
    color: #8ec5fc;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.fun-fact-content p {
    margin: 0;
    color: #ffffff;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    line-height: 1.7;
}

/* Journey Content */
.journey-content {
    background: rgba(147, 112, 219, 0.03);
    border-radius: 16px;
    padding: 2rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.15), rgba(147, 112, 219, 0.15));
    border-left: 4px solid #8ec5fc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(1rem, 2vw, 1.125rem) !important;
}

/* Skills Container */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-category {
    background: rgba(147, 112, 219, 0.05);
    border: 2px solid rgba(147, 112, 219, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(147, 112, 219, 0.12);
    border-color: rgba(147, 112, 219, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(147, 112, 219, 0.15);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.25), rgba(147, 112, 219, 0.25));
    color: #8ec5fc;
    padding: 0.625rem 1.125rem;
    border-radius: 24px;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
    font-weight: 600;
    border: 1px solid rgba(142, 197, 252, 0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.45), rgba(147, 112, 219, 0.45));
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(142, 197, 252, 0.3);
    color: #ffffff;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.philosophy-card {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.12), rgba(142, 197, 252, 0.08));
    border: 2px solid rgba(147, 112, 219, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(147, 112, 219, 0.2);
    border-color: rgba(147, 112, 219, 0.5);
}

.philosophy-card.main-card h3 {
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    color: #e0c3fc;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.philosophy-card .subtitle {
    font-size: clamp(1.125rem, 2.2vw, 1.375rem) !important;
    color: #8ec5fc !important;
    font-weight: 600;
    margin-bottom: 1rem !important;
}

.philosophy-card.quote-card {
    background: rgba(10, 0, 21, 0.7);
    border-left: 4px solid #8ec5fc;
    position: relative;
    text-align: center;
}

.quote-mark {
    font-size: 4rem;
    color: rgba(142, 197, 252, 0.2);
    font-family: Georgia, serif;
    line-height: 0.5;
    display: block;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: clamp(1.125rem, 2.2vw, 1.375rem) !important;
    font-style: italic;
    color: #ffffff !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.6;
}

.quote-author {
    color: #9370db !important;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem) !important;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Info Badge */
.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.2), rgba(142, 197, 252, 0.15));
    border: 2px solid rgba(147, 112, 219, 0.4);
    border-radius: 50px;
    padding: 1rem 2rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.info-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(147, 112, 219, 0.3);
}

.badge-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease infinite;
}

.badge-text {
    color: #e0c3fc;
    font-weight: 600;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 1.75rem 2rem;
    }

    .about-scrollable {
        padding: 2rem 2rem 3rem;
    }

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

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fun-fact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .journey-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding: 1.5rem 1.25rem;
    }

    .about-scrollable {
        padding: 1.5rem 1.25rem 2.5rem;
    }

    .philosophy-card {
        padding: 1.75rem;
    }

    .fun-fact-card {
        padding: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .info-badge {
        padding: 0.875rem 1.5rem;
    }
}

/* ==================== ABOUT EXPANDED (SLIDE-DOWN) STYLES ==================== */

.about-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                padding 0.6s ease;
    background: transparent;
    padding: 0;
}

.about-expanded.visible {
    max-height: 5000px;
    opacity: 1;
    padding: 5rem 3rem;
    background: transparent;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Extended Content Wrapper */
.extended-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.section-title {
    font-family: 'Fraunces', serif;
    color: #e0c3fc;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 1rem;
}

.natural-section p {
    color: #c8c8d8;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.9;
    margin-bottom: 1rem;
    max-width: 70ch;
}

.skills-paragraph-section {
    background: rgba(12, 8, 24, 0.6);
    border: 1px solid rgba(147, 112, 219, 0.25);
    border-radius: 18px;
    padding: 1.75rem;
}

.skills-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 0;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0c3fc;
    font-size: clamp(0.88rem, 1.5vw, 1rem);
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(142, 197, 252, 0.3);
    border-radius: 999px;
    background: rgba(142, 197, 252, 0.08);
}

.skill-chip svg {
    width: 18px;
    height: 18px;
    color: #8ec5fc;
}

.did-you-know-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.did-you-know-toggle {
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.2), rgba(147, 112, 219, 0.2));
    border: 1px solid rgba(147, 112, 219, 0.4);
    color: #e0c3fc;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.did-you-know-text {
    display: none;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);
    border-left: 4px solid #8ec5fc;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    max-width: 60ch;
}

.did-you-know-text.is-visible {
    display: block;
}

/* Fun Fact Highlight */
.fun-fact-highlight {
    display: block;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 3rem 0;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.fun-fact-highlight:hover {
    transform: none;
    box-shadow: none;
}

.fun-fact-highlight .icon {
    font-size: 2.5rem;
    margin-right: 0.75rem;
    filter: none;
    display: inline-block;
}

.fun-fact-highlight h3 {
    font-family: 'Georgia', serif;
    color: #f7f5ff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 700;
    display: inline;
}

.fun-fact-highlight p {
    color: #d8d8e8;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fun-fact-highlight p.insight {
    color: #e0c3fc;
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    margin-top: 1rem;
    font-style: italic;
}

/* Journey Box */
.journey-box {
    background: transparent;
    border-radius: 0;
    padding: 0 0 2rem 0;
    margin-bottom: 2.5rem;
}

.journey-box h2,
.skills-showcase h2,
.philosophy-section h2 {
    font-family: 'Georgia', serif;
    color: #f0e0ff;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin-bottom: 1.75rem;
    font-weight: 700;
    display: block;
    gap: 0;
}

.journey-box .icon,
.skills-showcase .icon,
.philosophy-section .icon {
    font-size: 0;
    filter: none;
}

.journey-box p,
.skills-showcase p,
.philosophy-section p {
    color: #d8d8e8;
    font-size: clamp(1rem, 1.8vw, 1.0625rem);
    line-height: 1.95;
    margin-bottom: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.highlight-note {
    background: transparent;
    border-left: none;
    padding: 1.5rem 0;
    border-radius: 0;
    margin: 1.75rem 0;
    border-bottom: 1px solid rgba(224, 195, 252, 0.2);
}

.highlight-note p {
    margin: 0;
    color: #e8d8f8 !important;
    font-size: clamp(1rem, 2vw, 1.125rem) !important;
    font-style: italic;
    font-weight: 500;
}

/* Skills Showcase */
.skills-showcase {
    margin-bottom: 2.5rem;
    background: transparent;
    background-attachment: scroll;
    padding: 0 0 2rem 0;
    border-radius: 0;
    position: relative;
    overflow: visible;
}

.skills-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 0;
}

.skills-showcase > * {
    position: relative;
    z-index: 1;
}

.skills-showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.skills-grid-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 160px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-8px);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.15), rgba(147, 112, 219, 0.2));
    border: 2px solid rgba(147, 112, 219, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(147, 112, 219, 0.1);
}

.skill-item:hover .skill-icon {
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.35), rgba(147, 112, 219, 0.4));
    border-color: rgba(147, 112, 219, 0.6);
    box-shadow: 0 8px 32px rgba(147, 112, 219, 0.3);
    transform: scale(1.1);
}

.skill-icon svg {
    width: 100%;
    height: 100%;
    color: #8ec5fc;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon svg {
    color: #e0c3fc;
    filter: drop-shadow(0 0 8px rgba(142, 197, 252, 0.6));
}

.skill-item span {
    color: #c8c8d8;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item:hover span {
    color: #e0c3fc;
}

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

.skill-group {
    background: rgba(147, 112, 219, 0.06);
    border: 2px solid rgba(147, 112, 219, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-group:hover {
    background: rgba(147, 112, 219, 0.12);
    border-color: rgba(147, 112, 219, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(147, 112, 219, 0.15);
}

.skill-group h3 {
    color: #8ec5fc;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.skill-group .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-group .tags span {
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.25), rgba(147, 112, 219, 0.25));
    color: #8ec5fc;
    padding: 0.625rem 1.125rem;
    border-radius: 24px;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
    font-weight: 600;
    border: 1px solid rgba(142, 197, 252, 0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-group .tags span:hover {
    background: linear-gradient(135deg, rgba(142, 197, 252, 0.45), rgba(147, 112, 219, 0.45));
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(142, 197, 252, 0.3);
    color: #ffffff;
}

/* Philosophy Section */
.philosophy-section {
    margin-bottom: 2.5rem;
}

.philosophy-cards {
    display: block;
    grid-template-columns: none;
    gap: 0;
}

.philosophy-cards .card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(224, 195, 252, 0.15);
}

.philosophy-cards .card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(224, 195, 252, 0.35);
}

.philosophy-cards .card.main h3 {
    font-family: 'Georgia', serif;
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    color: #f0e0ff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.philosophy-cards .card .tagline {
    font-size: clamp(1.125rem, 2.2vw, 1.375rem) !important;
    color: #d0a8ff !important;
    font-weight: 600;
    margin-bottom: 1.25rem !important;
    font-style: italic;
}

.philosophy-cards .card.quote {
    background: transparent;
    border: none;
    border-left: none;
    text-align: center;
    position: relative;
    padding: 2rem 0;
}

.quote-icon {
    font-size: 0;
    color: transparent;
    font-family: Georgia, serif;
    line-height: 0;
    display: none;
    margin-bottom: 0;
}

.quote-text {
    font-size: clamp(1.125rem, 2.2vw, 1.375rem) !important;
    font-style: italic;
    color: #e0c3fc !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.8;
}

.author {
    color: #9370db !important;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem) !important;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Did You Know Badge */
.did-you-know {
    display: block;
    align-items: center;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem 0;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    font-weight: 600;
    color: #e0c3fc;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.did-you-know:hover {
    transform: none;
    box-shadow: none;
}

.did-you-know span:first-child {
    font-size: 0;
    animation: none;
}

.did-you-know-toggle {
    cursor: pointer;
    background: transparent;
    border: none;
    color: #e0c3fc;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    text-decoration: underline;
    text-decoration-color: rgba(224, 195, 252, 0.5);
    text-underline-offset: 0.5rem;
    padding: 0;
}

.did-you-know-toggle:hover {
    color: #f0e0ff;
    text-decoration-color: rgba(224, 195, 252, 0.9);
}

#did-you-know-text {
    display: block;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    margin-top: 1.5rem;
    color: #d8d8e8;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    font-style: italic;
    line-height: 1.9;
}

#did-you-know-text.is-visible {
    display: block;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ==================== TECH STACK SECTION ==================== */

.tech-stack-section {
    margin-top: 3rem;
}

.tech-stack-section h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 700;
}

.tech-stack-section h2 em {
    font-style: italic;
    color: #1ee6d2;
}

.tech-skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.tech-skill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.tech-skill-item:hover {
    border-color: #1ee6d2;
    background: rgba(30, 230, 210, 0.1);
    transform: translateY(-2px);
}

.tech-skill-item svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
    flex-shrink: 0;
}

.tech-skill-item span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

/* Show Less Button Container */
.show-less-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.show-less-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-less-btn:hover {
    border-color: #1ee6d2;
    color: #1ee6d2;
    background: rgba(30, 230, 210, 0.1);
    transform: translateY(-2px);
}

/* Responsive for Extended Content */
@media (max-width: 1024px) {
    .about-expanded.visible {
        padding: 3rem 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .skills-grid-icons {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    
    .skills-showcase {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-expanded.visible {
        padding: 2.5rem 1.5rem;
    }

    .fun-fact-highlight {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .skills-grid-icons {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1.25rem;
    }
    
    .skill-icon {
        width: 70px;
        height: 70px;
    }
    
    .skills-showcase {
        padding: 2rem;
    }

    .philosophy-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .journey-box,
    .skill-group,
    .philosophy-cards .card {
        padding: 2rem;
    }
    
    .tech-skills-grid {
        gap: 0.75rem;
    }
    
    .tech-skill-item {
        padding: 0.5rem 0.75rem;
    }
    
    .tech-skill-item svg {
        width: 18px;
        height: 18px;
    }
    
    .tech-skill-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-expanded.visible {
        padding: 2rem 1.25rem;
    }

    .fun-fact-highlight,
    .journey-box,
    .skill-group,
    .philosophy-cards .card {
        padding: 1.5rem;
    }

    .did-you-know {
        padding: 0.875rem 1.75rem;
    }
    
    .skills-grid-icons {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 1rem;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
        padding: 1rem;
    }
    
    .skill-item span {
        font-size: 0.8125rem;
    }
    
    .skills-showcase {
        padding: 1.5rem;
    }
    
    .tech-skills-grid {
        gap: 0.5rem;
    }
    
    .tech-skill-item {
        padding: 0.4rem 0.6rem;
    }
    
    .tech-skill-item svg {
        width: 16px;
        height: 16px;
    }
    
    .tech-skill-item span {
        font-size: 0.8rem;
    }
    
    .tech-stack-section h2 {
        font-size: 1.5rem;
    }
}
