/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    color: #2c3e50;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

code, pre {
    font-family: 'Fira Code', monospace;
}

/* Hide scrollbar for all browsers */
body::-webkit-scrollbar {
    display: none;
}
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== VARIABLES ===== */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --bg-dark: #121212;
    --bg-light: #f8f9fa;
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 10px 200px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    transition: var(--transition);
}

.navbar-brand img {
    width: 2.5rem;
    height: 2.5rem;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-brand:hover img {
    transform: rotate(-15deg) scale(1.5);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.navbar-brand:focus img {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.nav-link {
    position: relative;
    color: var(--text-light) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.8rem;
    transition: var(--transition);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

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

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
    transform: scale(1.05);
}

.portfolio {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(187, 52, 52, 0.15);
    color: var(--text-light) !important;
    padding: 0px 30px;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 0 12px rgba(255, 255, 255, 0.1);
}

.portfolio:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.offcanvas {
    background-color: rgba(var(--bs-dark-rgb), 0.98) !important;
    backdrop-filter: blur(15px);
    color: var(--text-light);
}

.offcanvas-header {
    border-bottom: 1px solid var(--border-light);
}

.offcanvas-title {
    color: var(--text-light) !important;
    font-weight: 600;
}

.btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.8;
    transition: var(--transition);
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.offcanvas-body .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    border-radius: 8px;
    transition: var(--transition);
}

.offcanvas-body .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.offcanvas-body .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.25em;
    height: 1.25em;
}

.navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding-top: 0px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gradient-background {
    background: linear-gradient(700deg, #00bfff, #ff4c68, #ef8172);
    background-size: 15vh;
    animation: gradient-animation 18s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.typed-text {
    color: var(--text-dark);
    font-weight: 600;
    font-size: larger;
}

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

.button {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    margin-right: 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.view-work {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.view-work:hover {
    background: linear-gradient(135deg, var(--primary-dark), #004494);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.collaborate {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    text-decoration: none;
}

.collaborate:hover {
    background: var(--text-dark);
    color: var(--text-light);
    transform: translateY(-2px);
}

.hero-image {
    max-width: 400px;
}

.profile-image {
    width: 100%;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

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

.social-links-hero {
    display: flex;
    gap: 1.4rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.social-links-hero a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-links-hero a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    top: 0;
    left: -100%;
    transition: var(--transition);
    z-index: -1;
}

.social-links-hero a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--text-light);
}

.social-links-hero a:hover::before {
    left: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 8rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.skills-visual {
    flex: 1;
    min-width: 300px;
}

.section-heading {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Skills Styles */
.skills-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.skills-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.skill-category {
    background: var(--text-light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f1f2f6;
}

.category-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.skill-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.skill-percentage {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background-color: #f1f2f6;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    width: 0;
    transition: width 1.5s ease-in-out;
}

.skill-progress[data-level="95"] { width: 95%; background: linear-gradient(90deg, #2ecc71, #27ae60); }
.skill-progress[data-level="90"] { width: 90%; }
.skill-progress[data-level="85"] { width: 85%; }
.skill-progress[data-level="80"] { width: 80%; }
.skill-progress[data-level="75"] { width: 75%; background: linear-gradient(90deg, #f39c12, #e67e22); }
.skill-progress[data-level="70"] { width: 70%; background: linear-gradient(90deg, #f39c12, #e67e22); }

.skill-level-guide {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.skill-level-guide h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.skill-level-guide ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.skill-level-guide li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #5a6a7c;
}

.level-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.level-dot.expert { background: #2ecc71; }
.level-dot.advanced { background: var(--primary-color); }
.level-dot.proficient { background: var(--primary-color); }
.level-dot.intermediate { background: #f39c12; }

.soft-skills {
    margin: 1.5rem 0;
}

.soft-skills h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.skill-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-3px);
}

.skill-card i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
}

.resume-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.resume-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Project Filters */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(52, 152, 219, 0.2);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

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

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.project-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-stack span {
    background: var(--bg-light);
    color: #334155;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.btn i {
    margin-left: 6px;
    font-size: 0.8rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: var(--bg-dark);
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.contact-form,
.contact-info {
    flex: 1;
}

.contact-form h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #222;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #888;
    pointer-events: none;
    transition: 0.3s;
    background-color: #222;
    padding: 0 4px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 8px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background-color: var(--primary-dark);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 24px;
}

.contact-item p {
    margin: 0;
    line-height: 1.4;
}

.contact-item p:first-child {
    font-weight: 600;
    color: var(--text-light);
}

.contact-item p:last-child {
    color: #cccccc;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.map-embed {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .navbar {
        padding: 10px 100px;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 10px 50px;
    }
    
    .hero-container,
    .about-container,
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .about-content,
    .skills-visual,
    .contact-form,
    .contact-info {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-image {
        margin: 2rem auto;
        order: -1;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-list-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        gap: 25px;
    }
    
    .project-card {
        flex: none;
    }
    
    .carousel-dots {
        display: none;
    }
    
    .nav-link {
        margin: 0.5rem 0;
        padding: 0.8rem 1.5rem !important;
        border-radius: 8px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: none;
    }
    
    .offcanvas {
        background: linear-gradient(300deg, #00bfff, #ff4c68, #ef8172);
        background-size: 180% 180%;
        animation: gradient-animation 18s ease infinite;
    }
    
    .portfolio {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .gradient-background {
        height: fit-content;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .skills-title {
        font-size: 1.8rem;
    }
    
    .skill-level-guide ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .button {
        width: 100%;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form h2,
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .social-links-hero {
        justify-content: center;
    }
    
    .social-links-hero a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        width: 2rem;
        height: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-form h2,
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }
    
    button[type="submit"] {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .social-links-hero a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .filters {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 320px) {
    .social-links-hero {
        gap: 0.6rem;
    }
    
    .social-links-hero a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}




















/* Enhanced text contrast for better readability */
.hero-title, .section-heading, .project-title {
    color: #2d3748;
}

.hero-description, .bio-text, .project-desc {
    color: #4a5568;
    font-weight: 400;
}

/* Improved button styles */
.button {
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.view-work {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.view-work:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Enhanced card hover effects */
.skill-category, .project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Better focus states for accessibility */
.nav-link:focus,
.button:focus,
.filter-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Improved form styles */
.form-group input,
.form-group textarea {
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}