/**
 * Portfolio Website - Main Stylesheet
 * Modern dark mode design with clean aesthetics
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Colors - Dark Mode */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-hover: #2563eb;
    --border-color: #2a2a2a;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Layout */
    --max-width: 1280px;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-hover);
}

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

/* List Styles */
ul, ol {
    padding-left: 25px;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: var(--spacing-sm);
    padding-left: 8px;
}

ul ul, ol ul {
    list-style-type: circle;
    margin-top: var(--spacing-sm);
}

ul ol, ol ol {
    list-style-type: lower-alpha;
    margin-top: var(--spacing-sm);
}

/* ==================== Container ==================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* ==================== Navigation ==================== */
.site-header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navigation {
    padding: calc(var(--spacing-lg) * 0.4) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    line-height: 0;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: opacity var(--transition-base);
}

.logo:hover .logo-image {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color var(--transition-base);
}

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

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-admin {
    background-color: var(--accent-primary);
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-sm);
}

.nav-link-admin::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-base);
}

/* ==================== Main Content ==================== */
.main-content {
    min-height: calc(100vh - 400px);
}

/* ==================== Hero Section ==================== */
.hero {
    padding: var(--spacing-4xl) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Wave Layer 1 - Primary wave */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    clip-path: polygon(
        0% 100%,
        0% 60%,
        5% 58%,
        10% 56%,
        15% 55%,
        20% 56%,
        25% 58%,
        30% 62%,
        35% 65%,
        40% 67%,
        45% 68%,
        50% 67%,
        55% 65%,
        60% 62%,
        65% 58%,
        70% 56%,
        75% 55%,
        80% 56%,
        85% 58%,
        90% 60%,
        95% 62%,
        100% 63%,
        100% 100%
    );
    animation: waveFlow1 25s linear infinite;
    z-index: 0;
    opacity: 1;
}

/* Wave Layer 2 - Secondary wave */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    clip-path: polygon(
        0% 100%,
        0% 70%,
        5% 68%,
        10% 67%,
        15% 66%,
        20% 65%,
        25% 66%,
        30% 68%,
        35% 70%,
        40% 72%,
        45% 73%,
        50% 74%,
        55% 73%,
        60% 71%,
        65% 69%,
        70% 67%,
        75% 66%,
        80% 65%,
        85% 66%,
        90% 67%,
        95% 69%,
        100% 70%,
        100% 100%
    );
    animation: waveFlow2 20s linear infinite reverse;
    z-index: 0;
    opacity: 0.8;
}

@keyframes waveFlow1 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes waveFlow2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--text-6xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.hero-description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
}

.profile-image-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(20px);
}

.profile-image {
    width: 100%;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    border: 2px solid var(--border-color);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-primary);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
}

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

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--text-lg);
}

/* ==================== Section Styles ==================== */
section {
    padding: var(--spacing-md) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: var(--text-4xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.view-all {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-base);
}

.view-all:hover {
    color: var(--accent-primary);
}

/* ==================== Projects Grid ==================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

/* Featured projects on home page - always 3 columns */
.featured-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.project-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(59, 130, 246, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.project-link {
    color: white;
    font-weight: 600;
    font-size: var(--text-lg);
}

.project-content {
    padding: var(--spacing-xl);
}

.project-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-md);
}

.project-title a {
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

/* ==================== Blog Grid ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-content {
    padding: var(--spacing-xl);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.blog-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-md);
}

.blog-title a {
    color: var(--text-primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.read-more {
    color: var(--accent-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* ==================== CTA Section ==================== */
.cta {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

/* ==================== Footer ==================== */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links,
.footer-social {
    list-style: none;
}

.footer-links li,
.footer-social li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a,
.footer-social a {
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .projects-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: var(--spacing-lg) 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
    }

    .nav-menu .nav-link {
        display: block;
        padding: var(--spacing-md) var(--spacing-xl);
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background-color: var(--bg-tertiary);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    section {
        padding: var(--spacing-2xl) 0;
    }

    .hero {
        padding: var(--spacing-2xl) 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Resume Download Button */
.btn-download-resume {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-download-resume:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-download-resume svg {
    flex-shrink: 0;
}

/* ==================== Contact Page Styles ==================== */
.contact-page {
    padding: var(--spacing-3xl) 0;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.contact-header .page-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.contact-header .page-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

/* Contact Form */
.contact-form-container .card {
    padding: var(--spacing-2xl);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-xl);
    position: relative;
    transition: all 0.3s ease;
}

.contact-form .form-group.focused {
    transform: translateY(-2px);
}

.contact-form .form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-sm);
}

.contact-form .optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.contact-form .form-input,
.contact-form .form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--text-base);
    font-weight: 600;
    margin-top: var(--spacing-xl);
}

.contact-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form .form-note {
    margin-top: var(--spacing-md);
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
}

/* Spinner animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Contact Info Cards */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info-container .card {
    padding: var(--spacing-xl);
}

.contact-info-container .card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

/* Contact Info Item */
.contact-info-item {
    display: flex;
    align-items: start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.contact-info-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: var(--border-radius);
    color: var(--accent-primary);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-value {
    font-size: var(--text-base);
    color: var(--text-primary);
    font-weight: 500;
}

a.contact-value {
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-value:hover {
    color: var(--accent-primary);
}

/* Social Links */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    background-color: var(--bg-secondary);
    transform: translateX(4px);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    font-size: 20px;
    flex-shrink: 0;
}

.social-icon.linkedin {
    background-color: #0077B5;
    color: white;
}

.social-icon.github {
    background-color: #333;
    color: white;
}

.social-details {
    flex: 1;
}

.social-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-base);
}

.social-handle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.social-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link-item:hover .social-arrow {
    color: var(--accent-primary);
    transform: translate(2px, -2px);
}

/* Response Card */
.response-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    gap: var(--spacing-md);
    align-items: start;
}

.response-icon {
    flex-shrink: 0;
    color: var(--accent-primary);
}

.response-text strong {
    display: block;
    color: var(--text-primary);
    font-size: var(--text-base);
    margin-bottom: var(--spacing-xs);
}

.response-text p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-form-container .card {
        padding: var(--spacing-xl);
    }

    .contact-header .page-title {
        font-size: var(--text-4xl);
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding: var(--spacing-2xl) 0;
    }

    .contact-header {
        margin-bottom: var(--spacing-2xl);
    }

    .contact-header .page-title {
        font-size: var(--text-3xl);
    }

    .contact-form-container .card {
        padding: var(--spacing-lg);
    }

    .contact-info-container .card {
        padding: var(--spacing-lg);
    }
}

/* ==================== Flash Messages ==================== */
.flash-message {
    padding: 1rem 0;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease-out;
}

.flash-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.flash-success .container {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
}

.flash-error .container {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.flash-close:hover {
    opacity: 1;
}

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

/* ==================== Utility Classes ==================== */
.mt-3xl {
    margin-top: var(--spacing-3xl);
}
