/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #1F2937;
    --darker: #111827;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --gray-lighter: #D1D5DB;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--gray-lighter);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray);
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--dark);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.hero-content {
    max-width: 560px;
}

.hero-intro {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-name {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.hero-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.hero-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-social svg {
    width: 20px;
    height: 20px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 320px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 0 0 0 150px;
    opacity: 0.1;
}

.card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.avatar span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.card-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.card-role {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========================================
   Sections Common
   ======================================== */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.section-title {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 1rem;
}

.view-all-link:hover {
    gap: 0.75rem;
}

/* ========================================
   Featured Section
   ======================================== */

.featured {
    background: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.featured-card {
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.featured-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.featured-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.featured-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.featured-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.featured-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.featured-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--light);
    color: var(--gray);
    border-radius: 9999px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more:hover {
    gap: 0.75rem;
}

/* ========================================
   Blog Preview Section
   ======================================== */

.blog-preview {
    background: var(--light);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-preview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.blog-preview-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-preview-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0.75rem 0;
    font-family: 'Inter', sans-serif;
}

.blog-preview-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ========================================
   Stats Section
   ======================================== */

.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   Page Hero (About, Research, Projects, Contact)
   ======================================== */

.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.page-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-icon {
    width: 80px;
    height: 80px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.page-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary);
}

.page-hero h1 {
    font-size: 2.75rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ========================================
   About Page
   ======================================== */

.about-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex-shrink: 0;
}

.about-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-avatar span {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.about-label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.about-intro h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.about-tagline {
    font-size: 1.1rem;
    color: var(--gray);
}

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

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-section h2 svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.about-text p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.skill-category ul li {
    font-size: 0.9rem;
    color: var(--gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-lighter);
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.education-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.education-details h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.education-institution {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.education-year {
    font-size: 0.85rem;
    color: var(--gray);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.interest-item:hover {
    background: rgba(79, 70, 229, 0.1);
}

.interest-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.interest-item span {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    padding: 1.5rem;
    border-left: 3px solid var(--primary);
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

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

.experience-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--dark);
}

.experience-period {
    font-size: 0.85rem;
    color: var(--gray);
}

.experience-company {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.experience-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.about-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    margin-top: 3rem;
}

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

.about-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

/* ========================================
   Rashmi Blog Page
   ======================================== */

.rashmi-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    text-align: center;
}

.rashmi-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.rashmi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.rashmi-badge svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
}

.rashmi-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.rashmi-hero h1 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.rashmi-tagline {
    font-size: 1.15rem;
    color: #92400e;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.rashmi-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #92400e;
    font-size: 0.9rem;
}

.rashmi-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rashmi-meta svg {
    width: 16px;
    height: 16px;
}

/* Blog Categories */
.blog-categories {
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-lighter);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--gray-lighter);
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Featured Post */
.featured-post {
    padding: 4rem 0;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
}

.article-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.article-category {
    color: var(--primary);
    font-weight: 500;
}

.featured-article h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.featured-article p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.article-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--light);
    color: var(--gray);
    border-radius: 9999px;
}

.article-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.5;
}

.image-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 0.5rem;
}

.image-placeholder span {
    font-size: 0.9rem;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 4rem 0 5rem;
    background: var(--light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image .image-placeholder {
    opacity: 0.3;
}

.post-image .image-placeholder svg {
    width: 48px;
    height: 48px;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0.75rem 0;
}

.post-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Newsletter */
.newsletter {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-lighter);
}

.newsletter-icon {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    margin-bottom: 1rem;
}

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

.newsletter p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-note {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-note svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   Research Page
   ======================================== */

.research-content {
    padding: 4rem 0;
}

.research-filters,
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--gray-lighter);
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.research-card {
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.research-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.research-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

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

.research-header svg {
    width: 24px;
    height: 24px;
    stroke: var(--gray);
}

.research-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.research-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.research-abstract {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.research-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.research-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.research-meta svg {
    width: 16px;
    height: 16px;
}

.research-actions {
    display: flex;
    gap: 1rem;
}

.research-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta-content svg {
    width: 48px;
    height: 48px;
    stroke: var(--white);
    margin-bottom: 1rem;
}

.cta-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.github-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    text-align: center;
}

.github-content {
    max-width: 500px;
    margin: 0 auto;
}

.github-content svg {
    width: 48px;
    height: 48px;
    stroke: var(--white);
    margin-bottom: 1rem;
}

.github-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.github-content p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

/* ========================================
   Projects Page
   ======================================== */

.projects-content {
    padding: 4rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image .image-placeholder {
    opacity: 0.3;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overlay-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.overlay-btn svg {
    width: 18px;
    height: 18px;
}

.project-info {
    padding: 1.5rem;
}

.project-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.project-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--light);
    color: var(--gray);
    border-radius: var(--radius-sm);
}

.project-links {
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--gray-lighter);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

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

.project-link svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.method-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.method-info a {
    font-size: 0.9rem;
    color: var(--primary);
}

.method-info a:hover {
    color: var(--primary-dark);
}

.social-links h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.contact-form-wrapper {
    background: var(--light);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note svg {
    width: 14px;
    height: 14px;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    border-top: 1px solid var(--gray-lighter);
}

.faq-section h2 {
    font-size: 1.75rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.faq-item h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.faq-item h3 svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    padding-left: 2rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-dark);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .featured-grid,
    .blog-preview-grid,
    .posts-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1.25rem;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-card {
        width: 280px;
    }
    
    .section-header h2,
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .featured-grid,
    .blog-preview-grid,
    .posts-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 200px;
    }
    
    .about-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .skills-grid,
    .interests-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .rashmi-hero h1 {
        font-size: 2.5rem;
    }
    
    .rashmi-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-cta {
        padding: 2rem;
    }
    
    .about-cta h2 {
        font-size: 1.5rem;
    }
    
    .category-tabs,
    .research-filters,
    .project-filters {
        gap: 0.5rem;
    }
    
    .category-tab,
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
