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

:root {
    /* Color Palette - Embedded Systems Theme */
    --primary-color: #00d4ff;
    --secondary-color: #0066cc;
    --accent-color: #ff6b35;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --light-bg: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --card-bg: #161b33;
    --border-color: #2d3748;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 2rem;
    --card-padding: 2rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */
.my-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.greet-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sub-heading {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.lead-para {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.blue-text {
    color: var(--primary-color);
}

.inline-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: var(--transition-fast);
}

.inline-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* ===================================
   Header and Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-heading {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-heading i {
    font-size: 1.8rem;
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-list-items {
    position: relative;
}

.links {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.links::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.links:hover::after {
    width: 100%;
}

.resume-link {
    background: linear-gradient(135deg, var(--primary-color), #0099cc);
    color: var(--dark-bg) !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.resume-link:hover {
    background: linear-gradient(135deg, #00e5ff, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.resume-link::after {
    display: none;
}

.resume-link i {
    margin-right: 0.3rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.cross-icon {
    display: none;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.common-btn {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.common-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.ghost-btn {
    background: transparent;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ghost-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transition: var(--transition-fast);
}

.btn-small:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--section-padding);
    padding-top: 8rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.intro {
    flex: 1;
    animation: fadeInLeft 0.8s ease;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.intro-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding);
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

/* ===================================
   Skills Section
   =================================== */
.skills {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.skills-heading {
    margin-bottom: 3rem;
}

.skills-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

.my-col {
    width: 100%;
}

.my-card {
    background: var(--card-bg);
    padding: var(--card-padding);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    height: 100%;
}

.my-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
}

.skill-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* ===================================
   Projects Section
   =================================== */
.projects {
    padding: var(--section-padding);
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

/* Background Image Containers */
.projects-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

.projects-bg-transition {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 0;
    pointer-events: none;
    transform: translateY(-25%) translateZ(0);
    will-change: transform;
}

.projects-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0.15;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Background Image 1 - Top Section */
.projects-bg-1 {
    /* Add your first background image here */
    background-image: url('./assets/images/backgrounds/projects-bg-1.jpg');
    /* Alternative: circuit board pattern, technology abstract, etc. */
}

/* Background Image 2 - Middle Transition */
.projects-bg-2 {
    /* Add your second background image here */
    background-image: url('./assets/images/backgrounds/projects-bg-2.jpg');
    opacity: 0.18;
    /* Alternative: mesh network visualization, IoT devices, etc. */
}

.projects-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(5, 8, 20, 0.3) 30%,
        rgba(5, 8, 20, 0.6) 60%, 
        var(--darker-bg) 100%);
    pointer-events: none;
    transform: translateZ(0);
}

/* Blend overlay for transition area */
.projects-bg-transition .projects-bg-overlay {
    background: linear-gradient(180deg,
        var(--darker-bg) 0%,
        rgba(5, 8, 20, 0.5) 20%,
        rgba(5, 8, 20, 0.5) 80%,
        var(--darker-bg) 100%);
}

.projects-heading {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.projects-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

.project-card:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
}

.project-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.project-card.reverse .project-image {
    order: 2;
}

.project-card.reverse .project-info {
    order: 1;
}

.project-image {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.project-image:hover .project-overlay {
    opacity: 1;
    pointer-events: auto;
}

.project-link {
    color: var(--dark-bg);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.project-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.project-features li strong {
    color: var(--primary-color);
}

/* Highlight metrics within project features */
.highlight-metric {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.15));
    color: var(--primary-color);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95em;
    border: 1px solid rgba(0, 212, 255, 0.3);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.highlight-metric:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.25));
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Performance Metrics Summary Box */
.metrics-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.metric-box {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--dark-bg);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.metric-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.metric-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-note {
    background: rgba(0, 212, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.project-note p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.project-note strong {
    color: var(--text-primary);
}

/* ===================================
   Experience Section
   =================================== */
.experience {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.experience-heading {
    margin-bottom: 3rem;
}

.experience-content {
    max-width: 1400px;
    margin: 0 auto;
}

.experience .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   Employer Info Section
   =================================== */
.employer-info {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.employer-info .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.employer-info .section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.employer-info .section-title i {
    color: var(--primary-color);
}

.employer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
    box-sizing: border-box;
}

.employer-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.employer-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.employer-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--dark-bg);
    flex-shrink: 0;
}

.employer-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 0;
}

.employer-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.employer-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.employer-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.employer-btn i {
    margin-right: 0.5rem;
}

.quick-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
    box-sizing: border-box;
}

.stat-item {
    text-align: center;
    min-width: 100px;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container,
.contact-details {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-form-container .greet-heading,
.contact-details .greet-heading {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.form-controls {
    padding: 1rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-controls:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-controls::placeholder {
    color: var(--text-muted);
}

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

.form-btn {
    width: 100%;
    margin-top: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.details:last-child {
    border-bottom: none;
}

/* Contact section heading wrapper - centered */
.contact-heading {
    text-align: center;
    margin-bottom: 3rem;
}

/* Individual contact detail headings inside .details */
.details .contact-heading {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-align: center;
}

.contact-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--darker-bg);
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.resume-download-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #0099cc);
    color: var(--dark-bg);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.resume-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00e5ff, var(--primary-color));
}

.resume-download-btn i {
    margin-right: 0.5rem;
}

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

.footer-menu-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

.footer-links {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.footer-links:hover {
    color: var(--primary-color);
    background: var(--light-bg);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.footer-links-section {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-links-section span {
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom i.fa-heart {
    color: var(--accent-color);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ===================================
   Project Detail Overlay (Slides from Top)
   =================================== */
.project-detail-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.project-detail-overlay.active {
    top: 0;
}

.overlay-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 100%;
    background: var(--card-bg);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.project-detail-overlay.active .overlay-content {
    top: 0;
}

.overlay-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10001;
}

.overlay-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.overlay-scroll {
    padding: 3rem;
}

#overlayProjectContent {
    max-width: 1000px;
    margin: 0 auto;
}

/* Hide detailed content by default on cards */
.project-details-hidden {
    display: none;
}

/* Enhanced hover effects for project cards */
.project-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02) translateZ(0);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-color);
}

.project-card::after {
    content: '👆 Press to view details';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    white-space: nowrap;
}

.project-card:hover::after {
    opacity: 1;
    bottom: -50px;
}

.project-image,
.project-info {
    cursor: pointer;
}

/* Adjust project overlay for better visibility */
.project-overlay {
    background: rgba(0, 212, 255, 0.95);
}

.project-overlay .project-link {
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 1.3rem;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
