@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #f8fafc;
    --text-color: #334155;
    --heading-color: #0f172a;
    --primary-color: #0f172a;
    --accent-color: #3b82f6;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Dark Mode Support (DISABLED) */
/* @media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0f172a;
        --text-color: #cbd5e1;
        --heading-color: #f8fafc;
        --primary-color: #f8fafc;
        --accent-color: #60a5fa;
        --card-bg: #1e293b;
        --border-color: #334155;
    }
} */

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    opacity: 0.8;
}

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

/* Header */
header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--heading-color);
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

/* Hero */
.hero {
    position: relative;
    padding: 10rem 0 8rem;
    text-align: center;
    overflow: hidden;
}

/* Dynamic background blobs */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px); /* fallback */
    z-index: -1;
    opacity: 0.15;
    animation: blob-bounce 20s infinite ease-in-out alternate;
}

.hero::before {
    background: var(--accent-color);
    top: -10%;
    right: -10%;
}

.hero::after {
    background: #8b5cf6; /* A purple accent for contrast */
    bottom: -10%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes blob-bounce {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero h1 {
    font-size: 3rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-color);
}

/* Common Components */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff !important;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--heading-color) !important;
    color: var(--heading-color) !important;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--heading-color) !important;
    color: #fff !important;
    opacity: 1;
}

.section-title {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Footer */
footer {
    background: var(--card-bg);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    margin: 0 0.5rem;
    font-size: 1.25rem;
}

/* Utilities */
.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

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

.text-sm {
    font-size: 0.875rem;
}

/* Modern Home Additions */
.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Hero Enhancement */
.hero {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    padding: 8rem 0 6rem;
}

/* Card Hover Lift */
.card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-color);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* ... previous styles ... */

/* --- Tubelight Navbar --- */
.tubelight-nav {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(var(--bg-rgb), 0.05); /* Fallback */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .tubelight-nav {
        bottom: auto;
        top: 1.5rem;
    }
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: color 0.3s;
    opacity: 0.8;
}

.nav-item:hover, .nav-item.active {
    color: var(--accent-color);
    opacity: 1;
    background: rgba(59, 130, 246, 0.1);
}

/* Lamp Effect */
.nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px; /* Pull slightly above */
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

.nav-icon {
    display: block;
}
.nav-text {
    display: none;
}
@media (min-width: 768px) {
    .nav-icon { display: none; }
    .nav-text { display: block; }
}


/* --- Animated Logo --- */
@keyframes diamond-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-container {
    font-weight: 900;
    font-size: 2rem; /* Adjusted for Header */
    letter-spacing: -0.05em;
    display: inline-flex;
    align-items: center;
    color: var(--heading-color);
}

.logo-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 -0.02em;
    width: 0.75em;
    height: 0.75em;
    vertical-align: middle;
}



/* --- Clean & Professional Flip Cards --- */

:root {
    --ac-base-bg: #F5F7FA;
    --ac-card-bg: #FFFFFF;
    --ac-card-border: #E4E7EC;
    --ac-accent: #2F7D6A;
    --ac-text-title: #1F2933;
    --ac-text-body: #4B5563;
    --ac-text-muted: #6B7280;
    --ac-shadow: rgba(0, 0, 0, 0.06);
    --ac-shadow-hover: rgba(0, 0, 0, 0.10);
    --ac-highlight: #D1FAE5;
}

/* Container Grid Gap Override */
.grid {
    gap: 24px !important;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    width: 100%;
    max-width: 360px; /* Recommended width */
    height: 240px;    /* Fixed height 200-240px */
    margin: 0 auto;   /* Center in grid cell if wider */
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out; /* 400-600ms ease-in-out */
    transform-style: preserve-3d;
}

/* Flip Triggers */
.flip-card:hover .flip-card-inner,
.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    
    /* Design Tokens */
    background: var(--ac-card-bg);
    border: 1px solid var(--ac-card-border);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px var(--ac-shadow);
    padding: 24px;
    
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align text */
    justify-content: space-between;
    transition: box-shadow 0.2s;
}

/* Hover Shadow (Card not flipped) */
.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back {
    box-shadow: 0 10px 15px -3px var(--ac-shadow-hover);
}

/* --- Front Face --- */
.flip-card-front {
    color: var(--ac-text-title);
}

.ac-category-badge {
    background: var(--ac-accent);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: auto; /* Push content down */
    align-self: flex-start;
}

.ac-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ac-text-title);
    line-height: 1.4;
    margin: 16px 0;
    
    /* Clamp to 2-3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: none !important; /* Override previous styles */
}

.ac-year-pill {
    border: 1px solid var(--ac-accent);
    color: var(--ac-accent);
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    margin-top: auto; /* Push to bottom */
}

/* --- Back Face --- */
.flip-card-back {
    transform: rotateY(180deg);
    color: var(--ac-text-body);
    justify-content: flex-start; /* Align content to top */
    gap: 12px; /* Add gap between elements */
}

.ac-abstract-heading {
    /* Removed in view, keeping style just in case or delete */
    color: var(--ac-text-title);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    display: none; /* Ensure hidden if present */
}

.ac-abstract-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ac-text-body);
    margin-bottom: 0; /* Remove auto margin */
    
    /* Clamp to 6-7 lines since heading is gone */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ac-read-more {
    color: var(--ac-accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: auto; /* Push to bottom */
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ac-read-more:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Responsive Fixes */
@media (max-width: 640px) {
    .flip-card {
        width: 100%;
        max-width: 100%; /* Full width on mobile */
    }
}

.ac-center-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    overflow: hidden;
}

/* --- Professional Page Design System --- */
:root {
    --pro-bg: #F5F7FA;
    --pro-card-bg: #FFFFFF;
    --pro-border: #E4E7EC;
    --pro-text-main: #1F2933;
    --pro-text-sec: #4B5563;
    --pro-text-muted: #6B7280;
    --pro-accent: #2F7D6A;
    --pro-card-shadow: rgba(0,0,0,0.06);
    --pro-card-shadow-hover: rgba(0,0,0,0.10);
}

.pro-page-bg {
    /* Background removed to allow global banner/layout to show */
    background-color: transparent; 
}

.pro-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px;
}

/* Typography */
.pro-page-title {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 600;
    color: var(--pro-text-main);
    margin-bottom: 28px;
}

.pro-section-title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    color: var(--pro-text-main);
    margin-bottom: 20px;
}

/* Layout Grid: Content Only */
.pro-layout {
    display: block;
    width: 100%;
}

@media (max-width: 992px) {
    .pro-layout {
        grid-template-columns: 1fr;
    }
    .pro-sidebar {
        display: none; /* Hide sidebar on mobile if strictly decorative, or stack it */
    }
}

.pro-content-area {
    width: 100%;
}

.pro-sidebar {
    position: sticky;
    top: 100px;
    border-left: 1px solid var(--pro-border);
    padding-left: 40px;
}

/* Grid for Cards (Education, Certs, Courses) */
.pro-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .pro-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Card Component */
.pro-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px var(--pro-card-shadow);
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    height: 100%; /* Equal height */
    display: flex;
    flex-direction: column;
}

.pro-card:hover {
    box-shadow: 0 10px 15px -3px var(--pro-card-shadow-hover);
    border-color: var(--pro-accent); /* Subtle selection */
}

/* Accent Strip on Hover */
.pro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--pro-accent);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.pro-card:hover::before {
    opacity: 1;
}

/* Card Content typography */
.pro-card-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    color: var(--pro-text-main);
    margin-bottom: 4px;
    line-height: 1.4;
    
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-card-subtitle {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--pro-text-main);
    margin-bottom: 4px;
}

.pro-card-meta {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--pro-text-muted);
}

.pro-badge {
    display: inline-block;
    background: var(--pro-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
}

/* Experience Timeline */
.pro-timeline-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

.pro-timeline-role {
    position: relative;
    padding-left: 20px;
    margin-top: 16px;
    border-left: 2px solid var(--pro-border);
}

.pro-timeline-role::before {
    content: '';
    position: absolute;
    left: -5px; /* (-2px border / 2) - (6px dot / 2)? Adjust for alignment */
    /* Border is 2px wide. Dot is 8px? */
    left: -5px;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--pro-accent);
    border-radius: 50%;
}

/* --- Contact Page Design System --- */
:root {
    --contact-bg: #F5F7FA;
    --contact-container-bg: #FFFFFF;
    --contact-input-bg: #FFFFFF;
    --contact-border: #E4E7EC;
    --contact-text-main: #1F2933;
    --contact-text-body: #4B5563;
    --contact-text-label: #6B7280;
    --contact-text-placeholder: #9CA3AF;
    --contact-accent: #2F7D6A;
}

.contact-page-style {
    background-color: var(--contact-bg) !important;
}

.contact-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px;
    background: transparent;
}

@media (max-width: 640px) {
    .contact-container {
        padding: 20px;
    }
}

/* Typography */
.contact-title {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 600;
    color: var(--contact-text-main);
    margin-bottom: 24px;
}

.contact-intro {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.5;
    color: var(--contact-text-body);
    margin-bottom: 28px;
}

.contact-section-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    color: var(--contact-text-main);
    margin-bottom: 16px;
    margin-top: 24px;
}

/* Links */
.contact-link {
    color: var(--contact-accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.contact-link:hover {
    opacity: 0.8;
}

/* Form */
.contact-form-group {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 13px;
    color: var(--contact-text-label);
    margin-bottom: 6px;
    font-weight: 500;
}

.contact-input {
    width: 100%;
    height: 44px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--contact-text-main);
    background: var(--contact-input-bg);
    border: 1px solid var(--contact-border);
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    appearance: none;
    -webkit-appearance: none;
}

.contact-textarea {
    min-height: 120px;
    height: auto;
    resize: none;
}

.contact-input::placeholder {
    color: var(--contact-text-placeholder);
}

.contact-input:focus {
    outline: none;
    border-color: var(--contact-accent);
    box-shadow: 0 0 0 2px rgba(47, 125, 106, 0.2);
}

.contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
    background: var(--contact-accent);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.contact-btn:hover {
    background-color: #266455;
}

.contact-btn:disabled {
    background-color: #9CA3AF;
    cursor: not-allowed;
}

.contact-divider {
    height: 1px;
    background: var(--contact-border);
    margin: 28px 0;
    border: none;
}

@media (min-width: 641px) {
    .contact-btn {
        width: auto;
        min-width: 160px;
    }
}


/* --- Home Page Redesign --- */

.home-section {
    padding: 64px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.home-divider {
    height: 1px;
    background: #E4E7EC;
    margin: 0 auto;
    max-width: 1100px;
}

/* Titles */
.home-section-title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    color: #1F2933;
    margin-bottom: 32px;
}

/* 1. Professional Snapshot */
.home-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-snapshot-card {
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.home-snapshot-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.home-snapshot-role {
    font-weight: 700;
    color: #1F2933;
    font-size: 16px;
    margin-bottom: 4px;
}

.home-snapshot-org {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 2px;
}

.home-snapshot-time {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 12px;
}

.home-snapshot-impact {
    font-size: 14px;
    line-height: 1.5;
    color: #4B5563;
    margin-top: auto;
    font-style: italic;
}

/* 2. What I Work On */
.home-workon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.home-workon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #E4E7EC;
}

.home-workon-dot {
    width: 8px;
    height: 8px;
    background: #2F7D6A;
    border-radius: 50%;
    flex-shrink: 0;
}

.home-workon-text {
    font-size: 16px;
    color: #1F2933;
    font-weight: 500;
}

/* 3. Research (Static Cards) */
.home-research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-research-card {
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    padding: 24px;
    /* Static, no flip */
    display: flex;
    flex-direction: column;
}

.home-research-badge {
    color: #2F7D6A;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.home-research-title {
    font-size: 16px;
    font-weight: 700;
    color: #1F2933;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-research-year {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 12px;
}

.home-research-summary {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-research-link {
    color: #2F7D6A;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

/* 4. Insights */
.home-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-insight-card {
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
}

.home-insight-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2933;
    margin-bottom: 8px;
}

.home-insight-date {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 12px;
}

.home-insight-excerpt {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 5. Highlights */
.home-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.home-highlight-pill {
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 14px;
    color: #1F2933;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.home-highlight-icon {
    color: #2F7D6A;
}


/* 6. CTA */
.home-cta {
    text-align: center;
    padding: 80px 0;
    background: #FFFFFF;
}

.home-cta-title {
    font-size: 28px;
    font-weight: 600;
    color: #1F2933;
    margin-bottom: 12px;
}

.home-cta-sub {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 32px;
}

.home-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    padding: 0 32px;
    background: #2F7D6A;
    color: #FFFFFF;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.home-cta-btn:hover {
    background: #266455;
    color: #FFFFFF;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .home-snapshot-grid, 
    .home-workon-grid, 
    .home-research-grid, 
    .home-insights-grid {
        grid-template-columns: 1fr;
    }
    
    .home-section {
        padding: 40px 20px;
    }
}

