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

:root {
    --primary: #2c5f6f;
    --secondary: #4a7c8c;
    --accent: #5eb3c7;
    --accent-pink: #e8a5b8;
    --accent-gradient: linear-gradient(135deg, #5eb3c7, #e8a5b8);
    --bg: #f5f1e8;
    --bg-white: #ffffff;
    --bg-alt: #e8e3d8;
    --border: #d4cfc4;
    --text: #1a3a42;
    --text-light: #5a7a82;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    margin: 0;
    padding-top: 80px;
    transition: padding-top 0.3s ease;
}

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

/* Top Navigation */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 80px;
    background: var(--primary);
    z-index: 100;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.4s ease, border-bottom 0.4s ease;
}

.sidebar-nav.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 2rem;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sidebar-menu-left {
    justify-self: end;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    text-decoration: none;
    justify-self: center;
}

.sidebar-menu-right {
    justify-self: start;
}

.sidebar-logo-icon {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
}

.sidebar-logo-icon.small {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
    transition: all 0.4s ease;
}

.logo-text.small {
    font-size: 1.25rem;
}

.sidebar-logo:hover .sidebar-logo-icon {
    transform: scale(1.05);
}

.sidebar-logo:hover .logo-text {
    color: var(--accent-pink);
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.sidebar-menu-left {
    gap: 2rem;
}

.sidebar-menu-right {
    gap: 2rem;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--accent-pink);
    border-radius: 4px 4px 0 0;
}

.search-link {
    padding: 1rem !important;
}

.search-link svg {
    width: 20px;
    height: 20px;
}

.sidebar-social {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    padding: 0;
    border: none;
    justify-self: end;
}

.sidebar-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.sidebar-social a:hover {
    color: white;
    transform: scale(1.1);
}

/* Module 1: Hero Full Screen */
.hero-full {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.6) 0%, rgba(232, 165, 184, 0.5) 100%);
    z-index: 1;
}

/* Decorative element at bottom of hero */
.hero-full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg), transparent);
    opacity: 0.8;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--bg-white);
    margin-bottom: 3rem;
    line-height: 1.4;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--bg-white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-hero:hover {
    background: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Module 2: About Anchor */
.about-anchor {
    padding: 6rem 0;
    background: var(--bg);
}

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

.about-text-center h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.about-text-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-pink));
    border-radius: 2px;
}

.about-text-center > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    margin-top: 2rem;
}

#about-expanded {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.5s ease, opacity 0.3s ease, visibility 0s 0.5s;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: block;
}

#about-expanded.active {
    max-height: 2000px !important;
    padding-top: 3rem !important;
    padding-bottom: 1rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: max-height 0.5s ease, opacity 0.3s ease, visibility 0s 0s;
}

.expanded-content-full {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: block;
}

.expanded-content-full.active {
    max-height: 2000px !important;
    padding-top: 3rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.expanded-content-full h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary);
}

.expanded-content-full h3:first-child {
    margin-top: 0;
}

.expanded-content-full p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.expand-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.expand-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.icon-plus {
    font-size: 1.2rem;
    font-weight: bold;
}

.expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 1.5rem;
}

.expanded-content.active {
    max-height: 1000px;
}

.expanded-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--primary);
}

.expanded-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Module 3: Core Beliefs */
.core-beliefs {
    padding: 6rem 0;
    background: 
        linear-gradient(to bottom, rgba(240, 248, 250, 0.95), rgba(240, 248, 250, 0.95)),
        url('Images/Bangkok KL BRIS.png') center/cover fixed;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-pink));
    border-radius: 2px;
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.belief-card {
    background: var(--bg-white);
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.belief-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.belief-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.2), rgba(232, 165, 184, 0.2)),
        var(--bg-alt);
    border: 2px solid var(--border);
}

/* Individual belief icons with skyline backgrounds */
.belief-card:nth-child(1) .belief-icon {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.85), rgba(232, 165, 184, 0.85)),
        url('Images/Gemini_Generated_Image_1x1suj1x1suj1x1s.png') center/cover;
}

.belief-card:nth-child(2) .belief-icon {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.85), rgba(232, 165, 184, 0.85)),
        url('Images/Seoul Auckland.png') center/cover;
}

.belief-card:nth-child(3) .belief-icon {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.85), rgba(232, 165, 184, 0.85)),
        url('Images/Tokyo Mumbai.png') center/cover;
}

.belief-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.belief-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: var(--primary);
}

/* Module 4: Latest Stories Grid (Kontinentalist Style) */
.latest-thinking {
    padding: 6rem 0;
    background: var(--bg);
    position: relative;
}

.latest-thinking .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3rem;
}

.carousel-container {
    overflow: visible;
}

.carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 0;
}

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

.carousel-card {
    min-width: auto;
    background: var(--bg-white);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.carousel-card-link:hover .carousel-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 200px;
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.7) 0%, rgba(232, 165, 184, 0.7) 100%),
        url('Images/Bangkok KL BRIS.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(94, 179, 199, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-image::after {
    content: 'Read';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.carousel-card-link:hover .card-image::before,
.carousel-card-link:hover .card-image::after {
    opacity: 1;
}

/* Alternate carousel card images - showcase all Asia-Pacific skylines */
.carousel-card:nth-child(2) .card-image {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.7) 0%, rgba(232, 165, 184, 0.7) 100%),
        url('Images/Gemini_Generated_Image_1x1suj1x1suj1x1s.png') center/cover no-repeat;
}

.carousel-card:nth-child(3) .card-image {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.7) 0%, rgba(232, 165, 184, 0.7) 100%),
        url('Images/Uluru, PP and Manila.png') center/cover no-repeat;
}

.carousel-card:nth-child(4) .card-image {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.7) 0%, rgba(232, 165, 184, 0.7) 100%),
        url('Images/HK Adelaide.png') center/cover no-repeat;
}

.carousel-card:nth-child(5) .card-image {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.7) 0%, rgba(232, 165, 184, 0.7) 100%),
        url('Images/Taipei Darwin.png') center/cover no-repeat;
}

.carousel-card:nth-child(6) .card-image {
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.7) 0%, rgba(232, 165, 184, 0.7) 100%),
        url('Images/Beijing Perth.png') center/cover no-repeat;
}

.card-tag {
    display: inline-block;
    margin: 1.5rem 1.5rem 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--accent);
    color: var(--bg-white);
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-reading-time {
    display: inline-block;
    margin: 1.5rem 0 0.5rem 0.5rem;
    padding: 0.4rem 0;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
}

.carousel-card h3 {
    padding: 0 1.5rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 700;
    line-height: 1.3;
}

.card-link {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    color: var(--accent);
    font-weight: 600;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.carousel-card-link:hover .card-link {
    color: var(--accent-pink);
}

/* Module 5: Focus Areas */
.focus-areas {
    padding: 1rem 0 8rem;
    background: 
        linear-gradient(to bottom, rgba(240, 248, 250, 0.95), rgba(240, 248, 250, 0.95)),
        url('Images/Beijing Perth.png') center/cover fixed;
    overflow: visible;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 3rem;
    padding-bottom: 5rem;
    overflow: visible;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.focus-icon-wrapper {
    text-align: center;
    position: relative;
    cursor: pointer;
    overflow: visible;
    min-height: 250px;
    z-index: 1;
}

.focus-icon-wrapper:hover,
.focus-icon-wrapper:active,
.focus-icon-wrapper:focus {
    z-index: 1001;
}

.focus-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(94, 179, 199, 0.2);
}

/* Individual focus icons with skyline backgrounds */
.focus-icon-wrapper:nth-child(1) .focus-icon {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('Images/HK Adelaide.png') center/cover;
}

.focus-icon-wrapper:nth-child(2) .focus-icon {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('Images/Tokyo Mumbai.png') center/cover;
}

.focus-icon-wrapper:nth-child(3) .focus-icon {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('Images/Seoul Auckland.png') center/cover;
}

.focus-icon-wrapper:hover .focus-icon {
    transform: scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(94, 179, 199, 0.3);
}

.focus-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.focus-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    width: 300px;
    max-width: 90vw;
    margin-top: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    line-height: 1.6;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    white-space: normal;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .focus-tooltip {
        width: 280px;
        font-size: 0.85rem;
        padding: 0.875rem 1rem;
        z-index: 10000;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        max-width: 85vw;
    }
    
    .focus-icon-wrapper {
        min-height: auto;
    }
    
    .focus-tooltip.active {
        opacity: 1;
        z-index: 10001;
    }
    
    /* Add backdrop for mobile tooltips */
    .focus-tooltip.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

.focus-tooltip.active {
    opacity: 1;
    z-index: 10001;
    pointer-events: auto;
}

/* Adjust tooltip position for edge items to prevent cutoff */
.focus-icon-wrapper:first-child .focus-tooltip {
    left: 0;
    transform: translateX(0);
}

.focus-icon-wrapper:last-child .focus-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
}

/* Module 6: Connect Section */
.connect-section {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
}

.connect-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: 
        linear-gradient(to bottom, transparent, var(--bg)),
        url('Images/Bangkok KL BRIS.png') center top/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.connect-section .container {
    position: relative;
    z-index: 1;
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.connect-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.connect-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: 
        linear-gradient(135deg, rgba(44, 95, 111, 0.95), rgba(74, 124, 140, 0.95)),
        url('Images/Taipei Darwin.png') center/cover;
    color: var(--bg);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(94, 179, 199, 0.3);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}

.subscribe-form button {
    background: var(--primary);
    color: var(--bg);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: var(--accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: 
        linear-gradient(135deg, rgba(240, 248, 250, 0.95), rgba(240, 248, 250, 0.95)),
        url('Images/Seoul Auckland.png') center/cover;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.social-icon:first-child {
    background: 
        linear-gradient(135deg, rgba(240, 248, 250, 0.95), rgba(240, 248, 250, 0.95)),
        url('Images/Tokyo Mumbai.png') center/cover;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

.icon-text {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)),
        url('Images/Gemini_Generated_Image_19xfe619xfe619xf.png') center/cover;
    padding: 3rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 2rem;
    position: relative;
    animation: slideIn 0.3s ease;
    border: 2px solid var(--border);
}

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

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: var(--primary);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background: 
        linear-gradient(135deg, rgba(44, 95, 111, 0.95) 0%, rgba(74, 124, 140, 0.95) 100%),
        url('Images/Uluru, PP and Manila.png') center/cover;
    color: var(--bg);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--bg);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .about-text-center h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .beliefs-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel {
        grid-template-columns: 1fr;
    }
    
    .connect-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .social-links {
        flex-direction: column;
    }
}


/* Search Dropdown Bar */
.search-modal {
    position: fixed;
    z-index: 2000;
    left: 150px;
    top: 0;
    width: calc(100% - 150px);
    height: 0;
    background: rgba(26, 58, 66, 0.97);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.active {
    height: 180px;
}

.search-modal-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 4rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.search-modal.active .search-modal-content {
    opacity: 1;
    transform: translateY(0);
}

.search-label {
    display: block;
    color: var(--bg);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.search-input {
    width: 100%;
    padding: 0;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--bg);
    outline: none;
    transition: border-color 0.3s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-bottom-color: var(--accent-pink);
}

.search-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.search-close {
    position: absolute;
    top: 3rem;
    right: 4rem;
    font-size: 2rem;
    color: var(--bg);
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.search-close:hover {
    transform: rotate(90deg);
}


/* Mobile Responsive Sidebar */
@media (max-width: 768px) {
    body {
        margin-left: 0;
        margin-bottom: 70px;
    }
    

    
    .profile-image {
        max-width: 150px;
    }
    

    
    .sidebar-nav {
        width: 100%;
        height: 70px;
        bottom: 0;
        top: auto;
    }
    
    .sidebar-content {
        display: flex;
        flex-direction: row;
        padding: 0.75rem 1rem;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .sidebar-menu-left {
        order: 1;
        gap: 0.5rem;
    }
    
    .sidebar-logo {
        order: 2;
        margin-bottom: 0;
        padding: 0;
    }
    
    .sidebar-logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .sidebar-logo-text {
        display: none;
    }
    
    .sidebar-menu-right {
        order: 3;
        gap: 0.5rem;
    }
    
    .sidebar-menu {
        flex-direction: row;
        gap: 0.5rem;
        margin: 0;
    }
    
    .sidebar-menu a {
        padding: 0.75rem 0.5rem;
        font-size: 0.65rem;
        border-left: none;
        border-top: 3px solid transparent;
    }
    
    .sidebar-menu a:hover,
    .sidebar-menu a.active {
        border-left-color: transparent;
        border-top-color: var(--accent-pink);
        background: transparent;
    }
    
    .sidebar-social {
        order: 4;
        flex-direction: row;
        gap: 0.75rem;
        padding: 0;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0.75rem;
        justify-self: auto;
    }
    
    .sidebar-social a svg {
        width: 18px;
        height: 18px;
    }
    
    .search-modal {
        left: 0;
        width: 100%;
    }
    
    .search-modal.active {
        height: 200px;
    }
    
    .search-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .search-close {
        top: 2rem;
        right: 1.5rem;
    }
    
    .search-label {
        font-size: 1.2rem;
    }
    
    .search-input {
        font-size: 1.2rem;
    }
}


/* Essays Page Styles */
.essays-hero {
    padding: 6rem 0 4rem;
    background: 
        linear-gradient(135deg, rgba(94, 179, 199, 0.85) 0%, rgba(232, 165, 184, 0.75) 100%),
        url('Images/Seoul Auckland.png') center/cover no-repeat;
    text-align: center;
}

.essays-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.essays-hero-subtitle {
    font-size: 1.5rem;
    color: var(--bg-white);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

.essays-filter {
    padding: 2rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 50;
}

.filter-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    padding: 0.6rem 1.25rem;
    border: none;
    background: var(--bg-alt);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag:hover {
    background: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.tag.active {
    background: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.essays-grid-section {
    padding: 4rem 0;
    background: var(--bg);
}

.essays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

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

.essay-card-full {
    background: var(--bg-white);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.essay-card-link:hover .essay-card-full {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.essay-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.essay-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(94, 179, 199, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.essay-card-image::after {
    content: 'Read';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.essay-card-link:hover .essay-card-image::before,
.essay-card-link:hover .essay-card-image::after {
    opacity: 1;
}

.essay-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.essay-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.essay-date {
    color: var(--text-light);
}

.essay-tag {
    color: var(--accent);
    font-weight: 600;
}

.essay-card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.3;
}

.essay-card-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.essay-read-link {
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.essay-card-link:hover .essay-read-link {
    color: var(--accent-pink);
    transform: translateX(4px);
}

/* Responsive Essays Page */
@media (max-width: 768px) {
    .essays-hero-title {
        font-size: 2.5rem;
    }
    
    .essays-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .essays-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-tags {
        gap: 0.5rem;
    }
    
    .tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}


/* Updated Subscribe Form */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.subscribe-form input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}

.subscribe-form button {
    background: var(--primary);
    color: var(--bg);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover:not(:disabled) {
    background: var(--accent);
}

.subscribe-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.subscribe-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.subscribe-message.success {
    display: block;
    background: rgba(94, 179, 199, 0.2);
    color: var(--primary);
    border: 1px solid var(--accent);
}

.subscribe-message.error {
    display: block;
    background: rgba(232, 165, 184, 0.2);
    color: #c7254e;
    border: 1px solid var(--accent-pink);
}


/* Feed Page Styles */
.feed-header {
    padding: 4rem 0 2rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.feed-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feed-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.feed-posts {
    padding: 4rem 0 6rem;
    background: var(--bg);
    min-height: calc(100vh - 250px);
}

.feed-container {
    max-width: 700px;
    margin: 0 auto;
}

.feed-post {
    padding: 0 0 3rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}

.feed-post:last-child {
    border-bottom: 1px solid var(--border);
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 2rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body p:last-child {
    margin-bottom: 0;
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Feed responsive */
@media (max-width: 768px) {
    .feed-title {
        font-size: 2.5rem;
    }
    
    .post-title {
        font-size: 1.6rem;
    }
    
    .feed-posts {
        min-height: calc(100vh - 300px);
    }
}


/* About Page Styles */
.about-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.1), rgba(232, 165, 184, 0.1));
}

.about-hero-title {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
}

.about-content-section {
    padding: 4rem 0;
}

/* Mission Section */
.about-mission {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
    padding: 0 2rem;
}

.about-mission h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-mission h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-pink));
    border-radius: 2px;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Timeline Section */
.about-timeline {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.timeline-title {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-pink));
    border-radius: 2px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(94, 179, 199, 0.1);
    transform: translateX(5px);
}

.timeline-icon {
    font-size: 3rem;
    text-align: center;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.timeline-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-content strong {
    color: var(--accent);
    font-weight: 600;
}

/* Insight Section */
.about-insight {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.about-insight blockquote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--primary);
    font-style: italic;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.1), rgba(232, 165, 184, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    position: relative;
}

.about-insight blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.3;
}

/* CTA Section */
.about-cta {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.1), rgba(232, 165, 184, 0.1));
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent);
}

.about-cta h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-mission h2,
    .timeline-title {
        font-size: 2rem;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .timeline-icon {
        font-size: 2rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .about-insight blockquote {
        font-size: 1.1rem;
        padding: 2rem;
    }
    
    .about-cta {
        padding: 2rem;
    }
}


/* Reading Time Styles */
.card-reading-time {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.essay-reading-time {
    color: var(--text-light);
    font-size: 0.9rem;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(94, 179, 199, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(94, 179, 199, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}


/* Social Share Buttons */
.essay-share {
    margin-bottom: 2rem;
    text-align: center;
}

.essay-share h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}


/* Newsletter Archive Styles */
.newsletter-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.1), rgba(232, 165, 184, 0.1));
}

.newsletter-hero-title {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.newsletter-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.newsletter-archive-section {
    padding: 4rem 0;
}

.newsletter-list {
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-item {
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.newsletter-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(94, 179, 199, 0.1);
}

.newsletter-date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.newsletter-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.newsletter-placeholder {
    text-align: center;
    padding: 3rem;
    background: rgba(94, 179, 199, 0.05);
    border-radius: 8px;
}

.newsletter-placeholder p {
    font-size: 1.1rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .newsletter-hero-title {
        font-size: 2.5rem;
    }
}


/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation delays for multiple elements */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }


/* Featured Essay Section */
.featured-essay {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.05), rgba(232, 165, 184, 0.05));
}

.featured-badge {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

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

.featured-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.featured-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.featured-reading-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-text h2 {
        font-size: 1.8rem;
    }
}


/* New Professional Hero Section */
.hero-professional {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.05), rgba(232, 165, 184, 0.05));
}

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

.hero-main-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle-name {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.hero-headshot {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Social Proof Wall */
.social-proof {
    padding: 4rem 0;
    background: white;
}

.social-proof-title {
    font-size: 2rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    font-weight: 600;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.proof-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(94, 179, 199, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.proof-item:hover {
    background: rgba(94, 179, 199, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.proof-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.proof-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.proof-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text);
}

/* Essays Grid for Homepage */
.essays-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.05), rgba(232, 165, 184, 0.05));
}

.essays-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.essay-card-home {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.essay-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.essay-card-image-home {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.essay-card-image-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.essay-card-content-home {
    padding: 2rem;
}

.essay-meta-home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.essay-tag-home {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.essay-reading-time-home {
    font-size: 0.85rem;
    color: var(--text-light);
}

.essay-card-content-home h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.essay-card-content-home p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.essay-link-home {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.essay-link-home:hover {
    color: var(--primary);
}

.view-all-essays {
    text-align: center;
}

/* Resume Link in Sidebar */
.resume-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .proof-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-name {
        font-size: 1.5rem;
    }
    
    .hero-headshot {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .proof-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .essays-grid-home {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* Modern Two-Column Biography Layout */
.about-bio-section {
    padding: 5rem 0;
    background: white;
}

.about-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-pink));
}

.about-two-column {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

@media (min-width: 1200px) {
    .about-two-column {
        padding: 0 4rem;
    }
}

.about-photo-column {
    position: sticky;
    top: 2rem;
}

.about-main-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto 1.5rem;
}

.about-secondary-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0 auto 1.5rem;
}

.about-text-column {
    padding-top: 1rem;
}

.about-text-column p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.bio-intro {
    font-size: 1.2rem !important;
    color: var(--primary) !important;
    font-weight: 500;
    margin-bottom: 2rem !important;
}

.bio-conclusion {
    font-size: 1.1rem !important;
    margin-top: 2rem !important;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(94, 179, 199, 0.1), rgba(232, 165, 184, 0.1));
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

.about-text-column strong {
    color: var(--accent);
    font-weight: 600;
}

.about-text-column em {
    font-style: italic;
    color: var(--primary);
}

@media (max-width: 1024px) {
    .about-two-column {
        grid-template-columns: 320px 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .about-main-photo {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .about-bio-section {
        padding: 3rem 0;
    }
    
    .about-page-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .about-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .about-photo-column {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-text-column {
        padding-top: 0;
    }
}


/* Bio Photo Styling */
.bio-photo {
    float: right;
    width: 200px;
    height: auto;
    margin: 0 0 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .bio-photo {
        float: none;
        width: 150px;
        margin: 0 auto 1.5rem;
        display: block;
    }
}


/* LinkedIn Thoughts Section */
.linkedin-thoughts {
    padding: 4rem 0 2rem;
    background: white;
    overflow: hidden;
}

.linkedin-thoughts .container {
    max-width: 100%;
    overflow: visible;
}

.thoughts-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--accent);
    color: var(--accent);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-left {
    left: -24px;
}

.carousel-nav-right {
    right: -24px;
}

@media (max-width: 768px) {
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-left {
        left: 0;
    }
    
    .carousel-nav-right {
        right: 0;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

.thoughts-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0 1rem 2rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    align-items: stretch;
}

.thoughts-grid > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.thoughts-grid::-webkit-scrollbar {
    height: 8px;
}

.thoughts-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thoughts-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.thoughts-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.thought-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    min-width: 380px;
    max-width: 380px;
    width: 380px;
    flex: 0 0 380px;
    overflow: hidden;
    display: block;
}

@media (max-width: 1200px) {
    .thought-card {
        min-width: 350px;
        max-width: 350px;
        width: 350px;
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    .thought-card {
        min-width: 300px;
        max-width: 300px;
        width: 300px;
        flex: 0 0 300px;
    }
}

.thought-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary);
}

.thought-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.thought-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.linkedin-icon {
    color: #0077b5;
    transition: color 0.3s ease;
}

.linkedin-icon:hover {
    color: var(--accent);
}

.thought-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.thought-images-single {
    grid-template-columns: 1fr;
}

.thought-images-single img {
    height: 200px;
    max-height: 200px;
}

.thought-images-three {
    grid-template-columns: repeat(3, 1fr);
}

.thought-images img {
    width: 100%;
    height: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

.thought-images-three img {
    height: 120px;
    max-height: 120px;
}

.thought-images img:hover {
    transform: scale(1.02);
}

.thought-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
}

.thought-text:last-of-type {
    margin-bottom: 1.5rem;
}

.thought-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.thought-link:hover {
    color: var(--primary);
}

.thought-card-more {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.thought-more-content {
    color: white;
    width: 100%;
    max-width: 100%;
}

.thought-more-icon {
    margin: 0 auto 1rem;
    color: white;
}

.thought-more-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.thought-more-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.thought-more-content .btn-primary {
    background: white;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thought-more-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .thought-more-content .btn-primary {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .thoughts-grid {
        padding: 0 1rem 2rem;
        margin: 0 -1rem;
        gap: 1.5rem;
    }
    
    .thought-images img {
        height: 120px;
        max-height: 120px;
    }
}
