/* CSS Variables */
:root {
    --primary-gray: 210 20% 98%;      /* Very light gray/white for main text */
    --secondary-gray: 210 15% 60%;    /* Muted gray for secondary text */
    
    --accent-color: 190 100% 50%;     /* Cyan/Electric Blue for accents */
    --accent-glow: 190 100% 50%;      /* Matching glow color */
    
    --dark-bg: 220 30% 10%;           /* Deep Navy Blue */
    --card-bg: 220 25% 15%;           /* Slightly lighter Navy for cards */
    --border-color: 220 20% 25%;      /* Subtle border */
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: hsl(var(--primary-gray));
    background: radial-gradient(circle at top right, hsl(220, 30%, 15%), hsl(var(--dark-bg)));
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 20px; /* Floating effect */
    left: 50%;
    transform: translateX(-50%);
    width: auto; /* Shrink to fit content */
    max-width: 90%;
    background: rgba(13, 17, 23, 0.85); /* Dark semi-transparent */
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

/* Hover glow effect for navbar */
.navbar:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
}

.nav-link {
    color: hsl(var(--secondary-gray));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: hsl(var(--accent-color));
    transition: var(--transition);
    transform: translateX(-50%);
    box-shadow: 0 0 10px hsl(var(--accent-color));
}

.nav-link:hover {
    color: hsl(var(--text-light));
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

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

.nav-link.active {
    color: hsl(var(--accent-color));
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none; /* Default hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    z-index: 2000;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: absolute; /* Back to top right */
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    box-shadow: none;
    border-radius: 5px; /* Slight rounded corners */
    border: 2px solid hsl(var(--accent-color)); /* Outline style */
    transition: var(--transition);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: hsl(var(--accent-color)); /* Accent color for lines */
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    transform: translateY(-50%); /* Keep vertical alignment */
    background: rgba(6, 182, 212, 0.1); /* Slight fill on hover */
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3); /* Glow effect */
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 1.5rem;
        height: 70px;
        display: flex;
        align-items: center;
        background: rgba(13, 17, 23, 0.95); /* Ensure background is solid enough */
    }

    .nav-container {
        justify-content: center; /* Center logo/content since toggle is floating */
        width: 100%;
        position: static;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex !important; /* Force show on mobile */
    }

    /* Standard Top-Down Menu - Full Screen Overlay */
    .nav-links {
        display: none;
        position: fixed; /* Fixed to cover screen */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Full viewport height */
        flex-direction: column;
        justify-content: center; /* Center links vertically */
        align-items: center; /* Center links horizontally */
        background: rgba(13, 17, 23, 0.98); /* Solid dark background */
        padding: 2rem;
        gap: 2rem;
        text-align: center;
        backdrop-filter: blur(15px);
        z-index: 1999;
    }
    
    .nav-links.active {
        display: flex; /* Show flex when toggled */
    }

    .nav-link {
        font-size: 1.5rem; /* Larger font for mobile menu */
        color: hsl(var(--text-light));
    }
}

/* Main Hero Section (Combined) */
.main-hero {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

/* Left Column */
.hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 650px;
    z-index: 2;
}

.intro-block {
    text-align: center; /* Center text on mobile */
    width: 100%;
}

.hero-greeting {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-gray));
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(var(--primary-gray)); 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: hsl(var(--text-light));
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center; /* Center buttons on mobile */
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(190, 100%, 40%), hsl(220, 100%, 50%));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 200, 255, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: hsl(var(--primary-gray));
    border: 1px solid hsl(var(--border-color));
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: hsl(var(--accent-color));
    color: hsl(var(--accent-color));
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 6rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--primary-gray));
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Skills Navigation Arrows */
.skill-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.skill-nav:hover {
    background: hsl(var(--accent-color));
    color: hsl(var(--dark-bg));
    box-shadow: 0 0 15px hsl(var(--accent-color));
    border-color: transparent;
}

.skill-nav.prev {
    left: -60px; /* Position outside the card container */
}

.skill-nav.next {
    right: -60px; /* Position outside the card container */
}

/* Responsive adjustment for arrows */
@media (max-width: 768px) {
    .skill-nav.prev {
        left: -20px;
    }
    .skill-nav.next {
        right: -20px;
    }
}

/* Bio Card */
.bio-card {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
    max-width: 100%; /* Ensure no overflow */
}

@media (max-width: 768px) {
    .bio-card {
        padding: 1.5rem;
        width: 100%;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

.bio-card p {
    color: hsl(var(--secondary-gray));
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ccc;
    font-family: 'Arial Black';
    line-height: 1;
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, #f1f1f1 0%, #ccc 30%, #fff 50%, #ccc 70%, #f1f1f1 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 2s linear infinite;
}

@keyframes shine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.stat-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial Black';
}

/* Right Column (Image) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Diamond Shape Clip Path */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: linear-gradient(135deg, hsl(var(--card-bg)), hsl(var(--dark-bg)));
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
    /* Border effect using a pseudo-element wrapper if needed, 
       but for clip-path borders are tricky. 
       We can add a border by wrapping in another diamond or using drop-shadow filter on parent. */
    transition: var(--transition);
}

.image-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.4);
}

/* Add a glowing border effect around the diamond */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, hsl(var(--accent-color)), transparent, hsl(var(--accent-color)));
    z-index: -1;
    margin: -2px; /* Border width */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remove previous filter/styles */
    filter: none;
    border-radius: 0; 
}

/* Hide About Link on Desktop */
@media (min-width: 1024px) {
    .desktop-hidden {
        display: none !important;
    }
}

/* Desktop Grid Layout */
@media (min-width: 1024px) {
    .hero-layout {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        grid-template-areas: 
            "intro visual"
            "bio visual";
        align-items: end; 
        gap: 2rem;
        position: relative;
    }
    
    .intro-block {
        grid-area: intro;
        text-align: left;
        padding-top: 2rem;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .bio-card {
        grid-area: bio;
        margin-bottom: 2rem;
    }

    /* Force image to align bottom with the bio card */
    .hero-visual {
        grid-area: visual;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        height: 100%;
        position: relative;
        bottom: 4rem; /* Lifted up significantly */
    }
    
    .image-wrapper {
        margin-right: 0;
        width: 500px; 
        height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Play Button specific style */
.play-btn {
    background: transparent; /* Remove white background */
    color: hsl(var(--accent-color)); /* Cyan text color */
    border: 1px solid hsl(var(--accent-color)); /* Cyan border */
    backdrop-filter: none;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1); /* Subtle glow */
}

.play-btn:hover {
    background: hsl(var(--accent-color)); /* Fill with cyan on hover */
    color: hsl(var(--dark-bg)); /* Dark text on hover */
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); /* Stronger glow */
}

.play-btn svg {
    fill: currentColor; /* Ensure icon uses text color */
}

/* Skills Section (3D Carousel) */
.skills {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    perspective: 1000px; /* Add depth */
}

#skills-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* Increased width for side cards visibility */
    height: 450px; /* Increased height */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.skill-category {
    position: absolute;
    width: 100%;
    max-width: 450px; /* Fixed Card width */
    height: 350px;    /* Fixed Card height */
    background: hsl(var(--card-bg));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    z-index: 0;
    transform: scale(0.8) translateZ(-200px);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto; /* Enable vertical scroll if content overflows */
    scrollbar-width: thin; /* Firefox: Thin scrollbar */
    scrollbar-color: hsl(var(--accent-color)) transparent; /* Firefox: Color */
}

/* Custom Scrollbar for Webkit (Chrome/Edge/Safari) */
.skill-category::-webkit-scrollbar {
    width: 6px;
}

.skill-category::-webkit-scrollbar-track {
    background: transparent;
}

.skill-category::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.skill-category:hover::-webkit-scrollbar-thumb {
    background-color: hsl(var(--accent-color));
}

/* Active Card (Front) */
.skill-category.active {
    opacity: 1;
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 10;
    pointer-events: auto;
    border-color: hsl(var(--accent-color));
    box-shadow: var(--glow-shadow);
}

/* Previous Card (Left, faded, inward) */
.skill-category.prev {
    opacity: 0.4;
    transform: translateX(-60%) scale(0.85) translateZ(-100px) rotateY(15deg);
    z-index: 5;
    display: flex; /* Ensure it's rendered */
}

/* Next Card (Right, faded, inward) */
.skill-category.next {
    opacity: 0.4;
    transform: translateX(60%) scale(0.85) translateZ(-100px) rotateY(-15deg);
    z-index: 5;
    display: flex;
}

/* Hidden cards */
.skill-category.hidden {
    opacity: 0;
    display: none;
}

/* Techy Navigation Buttons (Simplified Box) */
.skill-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 25, 47, 0.9);
    border: 1px solid hsl(var(--accent-color));
    color: hsl(var(--accent-color));
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%); /* Techy angular shape */
    border-radius: 0; /* Force square corners if any radius was leaking */
    padding: 0; /* Remove padding to ensure icon centering */
}

.skill-nav:hover {
    background: rgba(6, 182, 212, 0.2);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.skill-nav i {
    font-size: 1.2rem;
}

.skill-nav.prev {
    left: -60px; /* Adjust based on container width */
}

.skill-nav.next {
    right: -60px;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    #skills-container {
        max-width: 100%;
        height: 500px;
    }
    
    .skill-category {
        max-width: 85%;
    }

    .skill-category.prev,
    .skill-category.next {
        opacity: 0; /* Hide side cards on mobile to avoid clutter */
        transform: scale(0.8);
    }

    .skill-nav {
        top: auto;
        bottom: -60px; /* Move below on mobile */
        min-width: 100px;
        padding: 0.5rem;
    }
    
    .skill-nav.prev {
        left: 10px;
    }
    
    .skill-nav.next {
        right: 10px;
    }
}


/* Skills Grid Inside Category */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem; /* Reduced gap slightly */
    justify-content: center;
    padding: 0.5rem 0; /* Reduced padding */
    width: 100%; /* Ensure it fits */
}

/* Skill Tag Styling */
.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem; /* Reverted to standard padding */
    font-size: 0.9rem; /* Standard font size */
    font-weight: 500;
    color: hsl(var(--primary-gray));
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Standard gap */
    white-space: nowrap;
    transition: var(--transition);
    margin: 0.2rem; /* Reduced margin */
    flex-shrink: 0; /* Prevent shrinking */
}

.skill-tag:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: hsl(var(--accent-color));
    color: white;
    transform: scale(1.05);
}

.skill-tag i, .skill-tag svg {
    color: hsl(var(--accent-color));
    width: 16px;
    height: 16px;
}
/* Projects Section */
.projects {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: hsl(var(--card-background));
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid hsl(var(--border-color));
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: hsl(var(--primary-gray));
}

.project-image {
  width: 100%;
  aspect-ratio: 3 / 2;   /* Maintains a consistent 3:2 ratio */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #f0f0f0; /* Optional background */
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* OR use 'cover' if you want it to fill the box and crop */
}


.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-light));
    line-height: 1.2;
}

.project-description {
    color: hsl(var(--text-gray));
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

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

.tech-tag {
    background: rgba(128, 128, 128, 0.2); /* Gray translucent background */
    color: hsl(var(--text-light));
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    user-select: none;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-buttons .btn {
    background: linear-gradient(135deg, hsl(190, 100%, 40%), hsl(220, 100%, 50%));
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.project-buttons .btn svg {
    fill: white;
    width: 16px;
    height: 16px;
}

.project-buttons .btn:hover {
    background-color: hsl(var(--hover-gray));
}

.project-buttons .btn:focus {
    outline: 2px solid hsl(var(--hover-gray));
    outline-offset: 2px;
}

.section-subtitle {
    color: hsl(var(--text-gray));
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
}


/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1); /* translucent white */
    backdrop-filter: blur(10px); /* blur for glass effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* subtle border */
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* soft shadow */
    display: grid;
    gap: 1rem;
}


.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    background: hsl(var(--card-background));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius);
    padding: 0.875rem;
    color: hsl(var(--text-light));
    font-family: var(--font-family);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: hsl(var(--primary-purple));
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: white;
}

.btn-send {
    justify-self: start;
    margin-top: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: hsl(var(--card-background));
    border: 1px solid hsl(var(--border-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--text-light));
    font-size: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: hsl(var(--primary-purple));
    transform: translateY(-2px);
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-gray));
}

.contact-phone {
    font-weight: 600;
    color: hsl(var(--text-light)) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-content {
        gap: 1rem;
    }

    .skill-category {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .skill-tags {
        gap: 0.5rem;
    }

    .skill-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    color: hsl(var(--text-gray));
}

/* Animation for form submission */
.form-submitted {
    opacity: 0.7;
    pointer-events: none;
}

.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Footer */
footer {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    color: hsl(var(--text-light));
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid hsl(var(--border-color));
    position: relative;
    width: 100%;
}

footer a {
    color: hsl(var(--text-light));
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    text-decoration: underline;
    color: hsl(var(--text-light));
}


