/*
Theme Name: Neobrutalism Portfolio
Theme URI: https://sahilkumarsingh.com
Author: Sahil Kumar Singh
Author URI: https://sahilkumarsingh.com
Description: A personal portfolio theme with neobrutalism design and soft greenish color scheme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neobrutalism-portfolio
Tags: portfolio, blog, neobrutalism, green, modern
*/

/* CSS Variables for Soft Greenish Neobrutalism Theme */
:root {
    /* Green Palette - Primary Theme Colors */
    --color-primary: #A8D5BA;
    --color-secondary: #6FB98F;
    --color-accent: #4A7C59;
    --color-dark: #2C3E2D;
    --color-light: #F0F7F4;
    
    /* Complementary Colors for Visual Interest */
    --color-yellow: #FFE66D;
    --color-coral: #FF6B6B;
    --color-blue: #4ECDC4;
    --color-purple: #A8E6CF;
    --color-orange: #FFB84D;
    --color-pink: #FFB3D9;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray: #6C757D;
    --color-light-gray: #E9ECEF;
    
    /* Border and Shadow */
    --color-border: #2C3E2D;
    --color-shadow: rgba(44, 62, 45, 0.3);
    
/* Blog Content Font: Lora */
.blog-content, .post, .entry-content, .blog-post, .single-post, .content-blog-list, .content-blog-grid {
    font-family: 'Lora', serif;
}

/* Neobrutalism Theme: Comments Section */
.comment-list {
    list-style: decimal inside;
    margin: 2em 0;
    padding: 0;
}
.comment {
    border: 2px solid var(--color-border);
    background: var(--color-light);
    box-shadow: 4px 4px 0 var(--color-shadow);
    margin-bottom: 2em;
    padding: 1.5em;
    border-radius: 12px;
}
.comment-author {
    font-weight: bold;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.comment-author .avatar {
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    width: 32px;
    height: 32px;
}
.comment-meta {
    font-size: 0.95em;
    color: var(--color-secondary);
    margin-bottom: 0.5em;
}
.comment-content {
    font-family: 'Lora', serif;
    font-size: 1.1em;
    color: var(--color-dark);
    margin-bottom: 0.5em;
}
.comment-content a {
    color: var(--color-accent);
    text-decoration: underline;
}
.comment-reply-link {
    color: var(--color-secondary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
    margin-top: 0.5em;
    display: inline-block;
}

/* Leave a Reply Form */
.comment-respond {
    border: 2px solid var(--color-border);
    background: var(--color-light);
    box-shadow: 4px 4px 0 var(--color-shadow);
    border-radius: 12px;
    padding: 2em;
    margin-bottom: 2em;
}
.comment-reply-title {
    font-family: inherit;
    font-weight: 900;
    font-size: 2em;
    color: var(--color-dark);
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}
.comment-form label {
    font-weight: bold;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.3em;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.7em;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    font-family: 'Lora', serif;
    font-size: 1em;
    margin-bottom: 1em;
    box-shadow: 2px 2px 0 var(--color-shadow);
}
.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}
.comment-form input[type="submit"] {
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: bold;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 0.7em 2em;
    box-shadow: 2px 2px 0 var(--color-shadow);
    cursor: pointer;
    transition: background 0.2s;
}
.comment-form input[type="submit"]:hover {
    background: var(--color-secondary);
}
.comment-form .comment-form-cookies-consent {
    font-size: 0.95em;
    color: var(--color-gray);
    margin-bottom: 1em;
}
    /* Typography */
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Design Elements */
    --border-width: 4px;
    --border-radius: 0;
    --shadow-offset: 6px;
    
    /* Responsive Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Container Widths */
    --container-max-width: 1200px;
    --container-padding: 1rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-light);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-secondary);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F7F4 50%, #E8F5E9 100%);
    border-bottom: var(--border-width) solid var(--color-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 var(--shadow-offset) 0 rgba(168, 213, 186, 0.3);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure title/logo is vertically centered within branding area */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding h1 {
    margin: 0;
    line-height: 1;
}

.site-title {
    font-size: 1.9rem;
    font-family: 'Beth Ellen', cursive, sans-serif;
    color: var(--color-black);
    font-weight: 400;
    text-transform: none;
    /* underline effect */
    text-decoration: underline;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
    flex: 1 1 auto; /* grow to fill header space */
    min-width: 0;   /* allow ellipsis to work in flex */
}

.site-title:hover {
    transform: scale(1.05);
}

.site-title a {
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: block;        /* allow it to take full width for ellipsis */
    width: 100%;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-title a:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure the long title fills space but stays readable on small screens */
@media (max-width: 767px) {
    .site-title {
        font-size: clamp(1.4rem, 7vw, 1.75rem);
    }
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.main-navigation a {
    color: var(--color-black);
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    border: var(--border-width) solid transparent;
    transition: all 0.3s ease;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.main-navigation a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.main-navigation a:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Colorful hover effects for each menu item */
.main-navigation li:nth-child(1) a:hover,
.main-navigation li:nth-child(1) a.active {
    background: linear-gradient(135deg, #FFE66D, #FFD93D);
    border: var(--border-width) solid var(--color-border);
    box-shadow: 4px 4px 0 rgba(255, 230, 109, 0.4);
    color: var(--color-black);
}

.main-navigation li:nth-child(2) a:hover,
.main-navigation li:nth-child(2) a.active {
    background: linear-gradient(135deg, #A8E6CF, #7FD8BE);
    border: var(--border-width) solid var(--color-border);
    box-shadow: 4px 4px 0 rgba(168, 230, 207, 0.4);
    color: var(--color-black);
}

.main-navigation li:nth-child(3) a:hover,
.main-navigation li:nth-child(3) a.active {
    background: linear-gradient(135deg, #4ECDC4, #44B3AA);
    border: var(--border-width) solid var(--color-border);
    box-shadow: 4px 4px 0 rgba(78, 205, 196, 0.4);
    color: var(--color-black);
}

.main-navigation li:nth-child(4) a:hover,
.main-navigation li:nth-child(4) a.active {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    border: var(--border-width) solid var(--color-border);
    box-shadow: 4px 4px 0 rgba(255, 107, 107, 0.4);
    color: var(--color-black);
}

/* Hide menu text on tablet/small desktop, show only icons */
@media (min-width: 768px) and (max-width: 991px) {
    .main-navigation a span {
        display: none;
    }
    
    .main-navigation a {
        padding: 0.6rem 1rem;
        min-width: 50px;
        justify-content: center;
    }
    
    .main-navigation a i {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .main-navigation ul {
        gap: 0.5rem;
    }
}

/* Neobrutalism Button Style */
.neo-button,
button.neo-button,
input[type="submit"].neo-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-black);
    border: var(--border-width) solid var(--color-border);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    font-size: 1rem;
    font-family: var(--font-primary);
    border-radius: 0;

.search-form input[type="submit"]:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--color-shadow);
}
    background-color: var(--color-secondary);
    color: var(--color-black);
    border: var(--border-width) solid var(--color-border);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.neo-button:hover,
button.neo-button:hover,
input[type="submit"].neo-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--color-shadow);
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Button Color Variations */
.neo-button.btn-yellow {
    background-color: var(--color-yellow);
}

.neo-button.btn-coral {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.neo-button.btn-blue {
    background-color: var(--color-blue);
}

.neo-button.btn-orange {
    background-color: var(--color-orange);
}

/* Neobrutalism Card Style */
.neo-card {
    background-color: var(--color-white);
    border: var(--border-width) solid var(--color-border);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    margin-bottom: var(--spacing-md);
    transition: all 0.2s ease;
}

.neo-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 var(--color-shadow);
}

/* Card Color Variations */
.neo-card.card-yellow {
    background-color: var(--color-yellow);
}

.neo-card.card-coral {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.neo-card.card-blue {
    background-color: var(--color-blue);
}

.neo-card.card-purple {
    background-color: var(--color-purple);
}

.neo-card.card-orange {
    background-color: var(--color-orange);
}

.neo-card.card-pink {
    background-color: var(--color-pink);
}

/* Hero Section */
.hero-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    border-bottom: var(--border-width) solid var(--color-border);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Full Screen Hero Section */
.hero-section.fullscreen {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    border-bottom: var(--border-width) solid var(--color-border);
    box-shadow: 0 var(--shadow-offset) 0 var(--color-shadow);
    position: relative;
    padding: var(--spacing-md) 0;
    margin-top: 0;
}

/* Add decorative elements to hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-yellow);
    border: var(--border-width) solid var(--color-border);
    transform: rotate(45deg);
    opacity: 0.5;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 150px;
    height: 150px;
    background-color: var(--color-coral);
    border: var(--border-width) solid var(--color-border);
    border-radius: 50%;
    opacity: 0.4;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-content.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.hero-content.centered .hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    color: var(--color-black);
    text-shadow: 4px 4px 0 var(--color-shadow);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--color-dark);
}

.hero-content.centered .hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    color: var(--color-dark);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-buttons .neo-button {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hero-buttons .neo-button:hover {
    transform: rotate(0deg) translate(-2px, -2px);
}

.hero-buttons .neo-button {
    flex: 0 1 auto;
}

/* CTA buttons with arrow + underline on hover */
.hero-buttons .neo-button.cta-arrow {
    position: relative;
    text-decoration: none;
    padding-right: 2.75rem; /* room for top-right arrow */
}

/* disable text arrow from previous variant */
.hero-buttons .neo-button.cta-arrow::after { content: none; }

.hero-buttons .neo-button .btn-icon {
    font-size: 1.15rem;
    margin-right: 0.6rem;
}

.hero-buttons .neo-button .top-right-arrow {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 1rem;
    opacity: 0;
    transform: translate(-6px, 6px) scale(0.9);
    transition: all 0.25s ease;
}

.hero-buttons .neo-button.cta-arrow:hover .top-right-arrow {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* underline on hover */
.hero-buttons .neo-button.cta-arrow:hover {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

/* do not invert to white on hover for CTAs */
.hero-buttons .neo-button.cta-arrow:hover { color: var(--color-black) !important; }
.hero-buttons .neo-button.btn-yellow.cta-arrow:hover { background-color: var(--color-yellow) !important; }
.hero-buttons .neo-button.btn-blue.cta-arrow:hover { background-color: var(--color-blue) !important; }

@media (max-width: 575px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .neo-button {
        width: 100%;
    }
}

/* Content Section */
.content-section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

/* Add colorful accents to alternating sections */
.content-section:nth-of-type(even) {
    background-color: var(--color-light);
}

.content-section:nth-of-type(odd) {
    background-color: var(--color-white);
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-border);
}

/* Add colorful dots after section titles */
.section-title::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--color-coral);
    border: 2px solid var(--color-border);
    margin-right: 10px;
    vertical-align: middle;
}

@media (max-width: 575px) {
    .section-title {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }
    
    .section-title::before {
        width: 8px;
        height: 8px;
        margin-right: 6px;
    }
    
    .section-title::after {
        height: 4px;
    }
}

/* Grid Layout */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Responsive grid adjustments */
@media (min-width: 1200px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .grid {
        gap: var(--spacing-sm);
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Blog Post Styles */
.blog-post .post-title a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post .post-title a:hover {
    color: var(--color-accent);
}

.blog-post {
    background: var(--color-white);
    border: var(--border-width) solid var(--color-border);
    padding: var(--spacing-md);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--color-shadow);
}

/* Alternating colors for blog posts */
.blog-post:nth-child(4n+1) {
    border-left: 8px solid var(--color-secondary);
}

.blog-post:nth-child(4n+2) {
    border-left: 8px solid var(--color-yellow);
}

.blog-post:nth-child(4n+3) {
    border-left: 8px solid var(--color-blue);
}

.blog-post:nth-child(4n+4) {
    border-left: 8px solid var(--color-coral);
}

.post-title {
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.post-excerpt {
    margin-bottom: 1.5rem;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: var(--border-width) solid var(--color-border);
    background-color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    border-color: var(--color-accent);
    background-color: var(--color-light);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Add colorful focus states */
.form-group:nth-child(1) input:focus {
    border-left: 6px solid var(--color-yellow);
}

.form-group:nth-child(2) input:focus,
.form-group:nth-child(2) textarea:focus {
    border-left: 6px solid var(--color-blue);
}

.form-group:nth-child(3) input:focus {
    border-left: 6px solid var(--color-coral);
}

.form-group:nth-child(4) textarea:focus {
    border-left: 6px solid var(--color-orange);
}

/* Footer Styles */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 3rem 0 1.5rem;
    border-top: var(--border-width) solid var(--color-border);
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin-bottom: 1rem;
}

.footer-content a {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-black);
    border: var(--border-width) solid var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background-color: var(--color-secondary);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: var(--color-yellow);
    border: var(--border-width) solid var(--color-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    box-shadow: 4px 4px 0 rgba(255, 184, 77, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-toggle .menu-icon {
    font-size: 24px;
    color: #B8860B;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
}

.mobile-menu-toggle.active .menu-icon {
    color: var(--color-white);
}

.mobile-menu-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(255, 184, 77, 0.4);
}

.mobile-menu-toggle.active:hover {
    transform: rotate(180deg) translate(2px, 2px);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
    padding: 0.75rem 1rem;
    background-color: var(--color-white);
    color: var(--color-black);
    border: var(--border-width) solid var(--color-border);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 var(--color-shadow);
    transition: all 0.2s ease;
    text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--color-secondary);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--color-shadow);
}

.pagination .page-numbers.dots {
    border: none;
    box-shadow: none;
    background: transparent;
    pointer-events: none;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    padding: 0.75rem 1.5rem;
}

@media (max-width: 575px) {
    .pagination {
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .pagination .page-numbers {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 45px;
        min-height: 45px;
    }
    
    .pagination .page-numbers.prev,
    .pagination .page-numbers.next {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Thumbnail Styles */
.post-thumbnail img,
.page-thumbnail img,
.portfolio-thumbnail img {
    width: 100%;
    height: auto;
    border: var(--border-width) solid var(--color-border);
    display: block;
    object-fit: cover;
}

.post-thumbnail,
.portfolio-thumbnail {
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.portfolio-thumbnail img {
    min-height: 200px;
    max-height: 300px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .portfolio-thumbnail img {
        min-height: 180px;
        max-height: 250px;
    }
}

/* Entry Content Styling */
.entry-content {
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border: var(--border-width) solid var(--color-border);
    margin: 2rem 0;
}

.entry-content blockquote {
    padding: 1.5rem;
    margin: 2rem 0;
    background-color: var(--color-primary);
    border-left: 6px solid var(--color-accent);
    font-style: italic;
}

.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content code {
    background-color: var(--color-dark);
    color: var(--color-primary);
    padding: 0.25rem 0.5rem;
    font-family: 'Courier New', monospace;
}

.entry-content pre {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 1.5rem;
    overflow-x: auto;
    border: var(--border-width) solid var(--color-border);
    margin: 2rem 0;
}

.entry-content pre code {
    background-color: transparent;
    color: var(--color-light);
    padding: 0;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 1rem;
    border: var(--border-width) solid var(--color-border);
    font-size: 1rem;
}

.search-form input[type="submit"] {
    padding: 1rem 2rem;
}

/* Responsive Design */

/* Large Desktop (1920px and above) */
@media (min-width: 1920px) {
    :root {
        --container-max-width: 1600px;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

/* Desktop (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    :root {
        --container-max-width: 1400px;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    :root {
        --container-max-width: 1140px;
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .hero-section {
        min-height: 50vh;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    :root {
        --container-max-width: 960px;
        --container-padding: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 4rem;
        --shadow-offset: 5px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-content {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .site-title {
        font-size: 1.5rem;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .hero-section {
        min-height: 40vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-section.fullscreen {
        min-height: calc(100vh - 60px);
        padding: var(--spacing-md) 0;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 120px;
        height: 120px;
        opacity: 0.3;
    }
    
    .hero-section::before {
        top: 20px;
        right: 10px;
    }
    
    .hero-section::after {
        bottom: 20px;
        left: 5%;
        width: 100px;
        height: 100px;
    }
}

/* Mobile Landscape & Small Tablet (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .site-header {
        padding: 0.75rem 0;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-xs);
        flex-direction: row !important;
        flex-wrap: nowrap;
    }

    /* Match mobile toggle height for perfect vertical centering */
    .site-branding {
        min-height: 45px;
    }

    .site-title {
        font-size: 1.2rem;
        max-width: none;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1001;
        margin-left: auto;
        flex-shrink: 0;
        width: 45px;
        height: 45px;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(180deg, #FFFFFF 0%, #F0F7F4 50%, #E8F5E9 100%);
        padding: 80px var(--spacing-md);
        z-index: 1000;
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
        opacity: 0;
        transform: translateY(-10px);
    }

    .main-navigation.menu-open {
        display: block;
        opacity: 1;
        transform: translateY(0);
        animation: slideIn 0.3s ease-out;
    }
    
    .main-navigation.menu-closing {
        animation: slideOut 0.3s ease-out;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    .main-navigation a {
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem 1.5rem;
        background: var(--color-white);
        border: var(--border-width) solid var(--color-border);
        box-shadow: 4px 4px 0 var(--color-shadow);
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .main-navigation a i {
        font-size: 1.5rem;
    }
    
    /* Colorful mobile menu items */
    .main-navigation li:nth-child(1) a {
        background: linear-gradient(135deg, #FFE66D, #FFD93D);
    }
    
    .main-navigation li:nth-child(2) a {
        background: linear-gradient(135deg, #A8E6CF, #7FD8BE);
    }
    
    .main-navigation li:nth-child(3) a {
        background: linear-gradient(135deg, #4ECDC4, #44B3AA);
    }
    
    .main-navigation li:nth-child(4) a {
        background: linear-gradient(135deg, #FF6B6B, #FF5252);
    }

    .site-header {
        padding: var(--spacing-sm) 0;
    }

    .site-title {
        font-size: 1.25rem;
        flex-shrink: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-section {
        padding: var(--spacing-md) 0;
        min-height: auto;
    }
    
    .hero-section.fullscreen {
        min-height: calc(100vh - 50px);
        padding: var(--spacing-md) 0;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 80px;
        height: 80px;
        opacity: 0.25;
    }
    
    .hero-section::before {
        top: 15px;
        right: 5px;
    }
    
    .hero-section::after {
        bottom: 15px;
        left: 5%;
        width: 70px;
        height: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .neo-button {
        width: 100%;
        text-align: center;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .neo-card {
        padding: 1.5rem;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .social-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    :root {
        --container-padding: 0.75rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2.5rem;
        --border-width: 3px;
        --shadow-offset: 3px;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section.fullscreen {
        min-height: calc(100vh - 50px);
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 60px;
        height: 60px;
        opacity: 0.2;
    }
    
    .hero-section::before {
        top: 10px;
        right: 5px;
    }
    
    .hero-section::after {
        bottom: 10px;
        left: 3%;
        width: 50px;
        height: 50px;
    }
    
    .neo-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .neo-card,
    .blog-post {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .post-meta {
        font-size: 0.85rem;
    }
    
    .pagination .page-numbers {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .site-footer {
        padding: 2rem 0 1rem;
    }
}

/* Extra Small Mobile (up to 374px) */
@media (max-width: 374px) {
    :root {
        --container-padding: 0.5rem;
        --border-width: 2px;
        --shadow-offset: 2px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .neo-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .main-navigation a {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Animation for mobile menu */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-md) 0;
    }
    
    .site-header {
        padding: 0.75rem 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for touch devices */
    .neo-button {
        min-height: 48px;
        padding: 1rem 1.5rem;
    }
    
    .main-navigation a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Disable hover effects on touch devices */
    .neo-card:hover,
    .blog-post:hover {
        transform: none;
        box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    }
    
    .neo-button:hover {
        transform: none;
        box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    }
    
    /* Add active states instead */
    .neo-card:active {
        transform: translate(2px, 2px);
        box-shadow: 3px 3px 0 var(--color-shadow);
    }
    
    .neo-button:active {
        transform: translate(2px, 2px);
        box-shadow: 3px 3px 0 var(--color-shadow);
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .hero-buttons,
    .neo-button {
        display: none;
    }
    
    .neo-card,
    .blog-post {
        box-shadow: none;
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-yellow {
    background-color: var(--color-yellow);
}

.bg-blue {
    background-color: var(--color-blue);
}

.bg-coral {
    background-color: var(--color-coral);
}

.bg-purple {
    background-color: var(--color-purple);
}

/* Accent Border Variations */
.border-accent-yellow {
    border-left: 8px solid var(--color-yellow) !important;
}

.border-accent-coral {
    border-left: 8px solid var(--color-coral) !important;
}

.border-accent-blue {
    border-left: 8px solid var(--color-blue) !important;
}

.border-accent-orange {
    border-left: 8px solid var(--color-orange) !important;
}

/* Decorative Elements */
.decorative-dot {
    width: 20px;
    height: 20px;
    background-color: var(--color-yellow);
    border: 2px solid var(--color-border);
    display: inline-block;
    margin: 0 5px;
}

.decorative-line {
    height: 4px;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-border);
    margin: var(--spacing-md) 0;
}

/* Colorful Background Sections */
.section-colorful-1 {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
}

.section-colorful-2 {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-primary) 100%);
}

.section-colorful-3 {
    background-color: var(--color-yellow);
}

/* Portfolio Item Colors */
.portfolio-item:nth-child(6n+1) {
    border-top: 6px solid var(--color-secondary);
}

.portfolio-item:nth-child(6n+2) {
    border-top: 6px solid var(--color-yellow);
}

.portfolio-item:nth-child(6n+3) {
    border-top: 6px solid var(--color-blue);
}

.portfolio-item:nth-child(6n+4) {
    border-top: 6px solid var(--color-coral);
}

.portfolio-item:nth-child(6n+5) {
    border-top: 6px solid var(--color-orange);
}

.portfolio-item:nth-child(6n+6) {
    border-top: 6px solid var(--color-purple);
}

/* Image Filters for Visual Interest */
.portfolio-thumbnail img:hover,
.post-thumbnail img:hover {
    filter: contrast(1.1) saturate(1.2);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Tag Styling */
.post-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-tags strong {
    margin-right: 0.25rem;
}

.post-tags a,
.tag-item,
.tag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: var(--color-white) !important;
    color: var(--color-black);
    border: var(--border-width) solid var(--color-border);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--color-shadow);
    transition: all 0.2s ease;
}

.post-tags a:hover,
.tag-item:hover,
.tag-link:hover {
    background-color: var(--color-white) !important;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--color-shadow);
}

/* ========================================
   README PAGE STYLES
   ======================================== */

/* README Page Container */
.readme-page {
    padding: var(--spacing-md) 0;
    background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 100%);
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.readme-page .container {
    width: 100%;
}

/* Profile Image Section */
.readme-profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding: 0;
}

.readme-profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: var(--border-width) solid var(--color-border);
    overflow: hidden;
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow),
        10px 10px 0 var(--color-yellow),
        -5px -5px 0 var(--color-blue);
    transition: all 0.3s ease;
    background-color: var(--color-white);
}

.readme-profile-image:hover {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 
        8px 8px 0 var(--color-shadow),
        14px 14px 0 var(--color-yellow),
        -6px -6px 0 var(--color-blue);
}

.readme-profile-image img,
.profile-circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

/* About Me Card */
.readme-about-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #E8F5F0 0%, #D4EDE4 100%);
    border: var(--border-width) solid var(--color-border);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    position: relative;
    overflow: visible;
}

.readme-about-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 
        10px 10px 0 var(--color-shadow);
}

/* Decorative corner elements */
.readme-about-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 25px;
    height: 25px;
    background-color: var(--color-coral);
    border: var(--border-width) solid var(--color-border);
    border-radius: 50%;
    z-index: 2;
}

.readme-about-card::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 35px;
    height: 35px;
    background-color: var(--color-yellow);
    border: var(--border-width) solid var(--color-border);
    transform: rotate(45deg);
    z-index: 2;
}

/* About Me Title */
.readme-about-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    color: var(--color-accent);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.readme-about-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-blue));
    border: 2px solid var(--color-border);
    margin: var(--spacing-xs) auto 0;
}

/* About Me Content */
.readme-about-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-black);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.readme-about-content p {
    margin-bottom: 0.75rem;
    color: var(--color-gray);
    font-weight: 500;
}

.readme-about-content a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    position: relative;
}

.readme-about-content a:hover {
    color: var(--color-secondary);
    text-decoration-color: var(--color-secondary);
    text-shadow: 1px 1px 0 rgba(168, 213, 186, 0.3);
}

/* Responsive Styles for README Page */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .readme-page {
        padding: var(--spacing-md) 0;
        min-height: calc(100vh - 100px);
    }
    
    .readme-profile-image {
        width: 180px;
        height: 180px;
        box-shadow: 
            4px 4px 0 var(--color-shadow),
            8px 8px 0 var(--color-yellow),
            -4px -4px 0 var(--color-blue);
    }
    
    .readme-profile-image:hover {
        box-shadow: 
            6px 6px 0 var(--color-shadow),
            10px 10px 0 var(--color-yellow),
            -5px -5px 0 var(--color-blue);
    }
    
    .readme-about-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .readme-about-card::before {
        width: 22px;
        height: 22px;
        top: -9px;
        left: -9px;
    }
    
    .readme-about-card::after {
        width: 30px;
        height: 30px;
        bottom: -10px;
        right: -10px;
    }
    
    .readme-about-title {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .readme-about-content {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .readme-about-content p {
        margin-bottom: 0.5rem;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .readme-page {
        padding: var(--spacing-sm) 0;
        min-height: calc(100vh - 80px);
    }
    
    .readme-profile-section {
        margin-bottom: var(--spacing-sm);
        padding: 0;
    }
    
    .readme-profile-image {
        width: 150px;
        height: 150px;
        box-shadow: 
            3px 3px 0 var(--color-shadow),
            6px 6px 0 var(--color-yellow),
            -3px -3px 0 var(--color-blue);
    }
    
    .readme-profile-image:hover {
        transform: rotate(-3deg) scale(1.03);
        box-shadow: 
            5px 5px 0 var(--color-shadow),
            8px 8px 0 var(--color-yellow),
            -4px -4px 0 var(--color-blue);
    }
    
    .readme-about-card {
        padding: var(--spacing-sm) var(--spacing-md);
        box-shadow: 4px 4px 0 var(--color-shadow);
    }
    
    .readme-about-card:hover {
        transform: translate(-1px, -1px);
        box-shadow: 6px 6px 0 var(--color-shadow);
    }
    
    .readme-about-card::before {
        width: 16px;
        height: 16px;
        top: -6px;
        left: -6px;
    }
    
    .readme-about-card::after {
        width: 22px;
        height: 22px;
        bottom: -7px;
        right: -7px;
    }
    
    .readme-about-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .readme-about-title::after {
        width: 50px;
        height: 4px;
        margin-top: 0.35rem;
    }
    
    .readme-about-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .readme-about-content p {
        margin-bottom: 0.5rem;
    }
}

/* Small Mobile (up to 575px) */
@media (max-width: 575px) {
    .readme-page {
        padding: var(--spacing-xs) 0;
    }
    
    .readme-profile-image {
        width: 130px;
        height: 130px;
    }
    
    .readme-about-card {
        padding: var(--spacing-sm);
    }
    
    .readme-about-card::before {
        width: 14px;
        height: 14px;
        top: -5px;
        left: -5px;
    }
    
    .readme-about-card::after {
        width: 20px;
        height: 20px;
        bottom: -6px;
        right: -6px;
    }
    
    .readme-about-title {
        font-size: 1.35rem;
    }
    
    .readme-about-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .readme-about-content p {
        margin-bottom: 0.4rem;
    }
}

/* Extra Small Mobile (up to 374px) */
@media (max-width: 374px) {
    .readme-profile-image {
        width: 120px;
        height: 120px;
    }
    
    .readme-about-card {
        padding: 0.75rem;
    }
    
    .readme-about-card::before {
        width: 12px;
        height: 12px;
        top: -4px;
        left: -4px;
    }
    
    .readme-about-card::after {
        width: 18px;
        height: 18px;
        bottom: -5px;
        right: -5px;
    }
    
    .readme-about-title {
        font-size: 1.25rem;
    }
    
    .readme-about-content {
        font-size: 0.85rem;
    }
}

/* ========================================
   REACH OUT PAGE STYLES
   ======================================== */

/* Reach Out Page Container */
.reachout-page {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 100%);
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.reachout-page .container {
    width: 100%;
}

.reachout-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-lg);
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Featured Image Section */
.reachout-image-wrapper {
    position: relative;
}

.reachout-featured-image {
    background-color: var(--color-white);
    padding: 0;
    overflow: hidden;
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    transition: all 0.3s ease;
}

.reachout-featured-image:hover {
    transform: translate(-3px, -3px);
    box-shadow: 
        10px 10px 0 var(--color-shadow);
}

.reachout-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    margin: 0;
}

/* Content Card */
.reachout-content-wrapper {
    position: relative;
}

.reachout-card {
    background: linear-gradient(135deg, #E8F5F0 0%, #D4EDE4 100%);
    border: var(--border-width) solid var(--color-border);
    padding: var(--spacing-lg);
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    position: relative;
}

.reachout-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 
        10px 10px 0 var(--color-shadow);
}

/* Title */
.reachout-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    line-height: 1.3;
    text-transform: none;
}

/* Custom Content Text */
.reachout-text h1,
.reachout-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    line-height: 1.3;
    text-transform: none;
}

.reachout-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

/* Email */
.reachout-email {
    font-size: 1.05rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.reachout-email strong {
    color: var(--color-black);
    font-weight: 700;
}

/* Social Media Icons */
.reachout-social-icons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.reachout-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: var(--color-white);
    border: var(--border-width) solid var(--color-border);
    color: var(--color-black);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--color-shadow);
    text-decoration: none;
}

.reachout-social-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--color-shadow);
}

/* Individual social icon colors on hover */
.reachout-social-link:nth-child(1):hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.reachout-social-link:nth-child(2):hover {
    background-color: #0077B5;
    color: var(--color-white);
    border-color: var(--color-border);
}

.reachout-social-link:nth-child(3):hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.reachout-social-link:nth-child(4):hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: var(--color-white);
    border-color: var(--color-border);
}

.reachout-social-link:nth-child(5):hover {
    background-color: #FF0000;
    color: var(--color-white);
    border-color: var(--color-border);
}

.reachout-social-link:nth-child(6):hover {
    background-color: #EA4C89;
    color: var(--color-white);
    border-color: var(--color-border);
}

/* Responsive Styles for Reach Out Page */

/* Tablet and below (991px and below) */
@media (max-width: 991px) {
    .reachout-page {
        padding: var(--spacing-md) 0;
        min-height: auto;
    }
    
    .reachout-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .reachout-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .reachout-card {
        padding: var(--spacing-md);
    }
    
    .reachout-title,
    .reachout-text h1,
    .reachout-text h2 {
        font-size: 2rem;
    }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    .reachout-page {
        padding: var(--spacing-sm) 0;
    }
    
    .reachout-container {
        gap: var(--spacing-sm);
    }
    
    .reachout-image-wrapper {
        max-width: 100%;
    }
    
    .reachout-featured-image {
        box-shadow: 4px 4px 0 var(--color-shadow);
    }
    
    .reachout-featured-image:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0 var(--color-shadow);
    }
    
    .reachout-card {
        padding: var(--spacing-sm) var(--spacing-md);
        box-shadow: 4px 4px 0 var(--color-shadow);
    }
    
    .reachout-card:hover {
        transform: translate(-1px, -1px);
        box-shadow: 6px 6px 0 var(--color-shadow);
    }
    
    .reachout-title,
    .reachout-text h1,
    .reachout-text h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .reachout-email {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }
    
    .reachout-social-link {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
}

/* Small Mobile (575px and below) */
@media (max-width: 575px) {
    .reachout-card {
        padding: var(--spacing-sm);
    }
    
    .reachout-title,
    .reachout-text h1,
    .reachout-text h2 {
        font-size: 1.35rem;
    }
    
    .reachout-email {
        font-size: 0.9rem;
    }
    
    .reachout-social-icons {
        gap: 0.75rem;
    }
    
    .reachout-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        box-shadow: 3px 3px 0 var(--color-shadow);
    }
    
    .reachout-social-link:hover {
        transform: translate(-1px, -1px);
        box-shadow: 4px 4px 0 var(--color-shadow);
    }
}

/* Extra Small Mobile (374px and below) */
@media (max-width: 374px) {
    .reachout-title,
    .reachout-text h1,
    .reachout-text h2 {
        font-size: 1.2rem;
    }
    
    .reachout-email {
        font-size: 0.85rem;
    }
    
    .reachout-social-link {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
}

/* Seamless single-card layout combining image and content */
.reachout-seamless-card {
    background: linear-gradient(135deg, #E8F5F0 0%, #D4EDE4 100%);
    border: var(--border-width) solid var(--color-border);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-shadow);
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.reachout-seamless-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 var(--color-shadow);
}

.reachout-seamless-card .reachout-media img {
    width: 100%;
    height: auto;
    display: block;
    border: var(--border-width) solid var(--color-border);
}

.reachout-seamless-card .reachout-body {
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments for the seamless card */
@media (max-width: 991px) {
    .reachout-seamless-card {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
    }
    .reachout-seamless-card .reachout-media {
        max-width: 520px;
        margin: 0 auto var(--spacing-md);
    }
}

@media (max-width: 575px) {
    .reachout-seamless-card {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
}
