* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #2b6cb0;
    --secondary: #4299e1;
    --accent: #63b3ed;
    --text: #2d3748;
    --background: #f7fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --nav-bg: rgba(255, 255, 255, 0.98);
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #63b3ed 0%, #4299e1 100%);
    --gradient-2: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
}

body {
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    background: 
        linear-gradient(120deg, #e6f3ff 0%, #ffffff 100%),
        radial-gradient(70% 120% at 50% 50%, #ebf8ff 0%, #ffffff 100%);
    filter: blur(100px);
    transform-origin: center;
    animation: morphBackground 15s ease-in-out infinite alternate;
}

@keyframes morphBackground {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 5px 15px;
    border-radius: 12px;
}

.logo:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 17px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: all 0.5s ease;
        padding: 20px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 20px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

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

    .logo {
        font-size: 24px;
        padding: 5px 10px;
    }

    .nav-links a {
        font-size: 18px;
    }
}

@media (hover: none) {
    .nav-links a:hover {
        transform: none;
    }

    .logo:hover {
        transform: none;
    }
}




.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.hero-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    background: var(--card-bg);
    padding: 70px;
    border-radius: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 0 100px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(20px);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content:hover {
    transform: translateY(-5px);
}

.hero-text {
    flex: 1.2;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.hero-image:hover::after {
    transform: translate(10px, 10px);
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.hero-image:hover img {
    transform: scale(1.02);
}

.hero h1 {
    font-size: clamp(2.8em, 5vw, 3.8em);
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero h2 {
    font-size: clamp(1.6em, 3vw, 2em);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero p {
    font-size: clamp(1.1em, 2vw, 1.3em);
    margin-bottom: 35px;
    color: var(--text);
    line-height: 1.8;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    margin-top: 40px;
}

.cta-button {
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-button {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 179, 237, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 179, 237, 0.4);
}

.secondary-button {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.secondary-button:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 25px;
    margin-top: 40px;
}

.social-links a {
    color: var(--primary);
    font-size: 1.8em;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 179, 237, 0.2);
}

@media (max-width: 1200px) {
    .hero-content {
        padding: 50px;
        margin: 0 20px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px;
    }

    .hero-image img {
        max-width: 350px;
        margin-bottom: 40px;
    }

    .cta-buttons, .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
  

    .hero-content {
        padding: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
    }
}

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

    .hero-content {
        padding: 25px;
    }

    .hero-image img {
        max-width: 280px;
    }
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 179, 237, 0.15) 0%, transparent 70%);
    animation: floatOrb 20s infinite alternate;
}

.orb-2 {
    bottom: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(43, 108, 176, 0.1) 0%, transparent 70%);
    animation: floatOrb 25s infinite alternate-reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(5%, 5%) rotate(360deg); }
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-titleForSkills {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
    text-transform: uppercase;
}

.section-titleForSkills::before {
    content: 'EXPERTISE';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    letter-spacing: 8px;
    color: var(--secondary);
    opacity: 0.5;
}

.section-titleForSkills::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(99, 179, 237, 0.3);
}

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

.skill-category {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(43, 108, 176, 0.1),
        0 1px 12px rgba(43, 108, 176, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.skill-category:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(43, 108, 176, 0.15),
        0 1px 15px rgba(43, 108, 176, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.skill-category:hover::before {
    opacity: 0.05;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 12px;
    opacity: 0.2;
    transform: rotate(45deg);
}

.skills-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.skill-item {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text);
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.1);
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-icon {
    margin-right: 1rem;
    color: var(--secondary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

.skill-category {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.skill-category:nth-child(1) { animation-delay: 0.2s; }
.skill-category:nth-child(2) { animation-delay: 0.4s; }
.skill-category:nth-child(3) { animation-delay: 0.6s; }
.skill-category:nth-child(4) { animation-delay: 0.8s; }

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
}

.section {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid rgba(67, 153, 225, 0.1);
    box-shadow: 0 15px 35px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(67, 153, 225, 0.1),
        transparent
    );
    transition: 0.5s;
}

.section:hover::before {
    left: 100%;
}

.section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(43, 108, 176, 0.15);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
}

.entry {
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
}

.entry::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.entry-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.entry-subtitle {
    color: var(--secondary);
    font-weight: 500;
    font-size: 1rem;
}

.entry-date {
    background: var(--gradient-1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.entry-details {
    padding-left: 20px;
    color: var(--text);
}

.entry-details li {
    margin-bottom: 8px;
    list-style-type: none;
    position: relative;
    padding-left: 20px;
}

.entry-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.background-animation span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent),
               0 0 20px var(--accent),
               0 0 40px var(--accent);
    animation: animate 15s linear infinite;
}

@keyframes animate {
    0% {
        transform: translateY(100vh) scale(0);
    }
    100% {
        transform: translateY(-100vh) scale(1);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .section {
        padding: 25px;
    }

    .entry-header {
        flex-direction: column;
    }

    .entry-date {
        margin-top: 10px;
    }

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



.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 20%, rgba(99, 179, 237, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(66, 153, 225, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(43, 108, 176, 0.05) 0%, transparent 30%);
    animation: backgroundMove 20s ease-in-out infinite alternate;
}

@keyframes backgroundMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.projects-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    padding: 1rem;
}

.project-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 1px 10px rgba(0, 0, 0, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%
    );
    transform: translateY(-100%);
    transition: 0.6s;
}

.project-card:hover::before {
    transform: translateY(100%);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.project-content {
    padding: 2rem;
    position: relative;
}

.project-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.project-title svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.project-description {
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 179, 237, 0.3);
}

.project-link:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(99, 179, 237, 0.4);
}

.project-tech-stack {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(99, 179, 237, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .projects-section {
        padding: 3rem 1rem;
    }

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

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

/* Floating animation for cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.project-card {
    animation: float 6s ease-in-out infinite;
}

.project-card:nth-child(2) {
    animation-delay: 1s;
}

.project-card:nth-child(3) {
    animation-delay: 2s;
}
@media (max-width: 768px) {
    .projects-section {
        padding: 3rem 1rem;
    }

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

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

/* Floating animation for cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.project-card {
    animation: float 6s ease-in-out infinite;
}

.project-card:nth-child(2) {
    animation-delay: 1s;
}

.project-card:nth-child(3) {
    animation-delay: 2s;
}

@media (max-width: 1400px) {
.projects-grid {
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 2.5rem;
padding: 0.5rem;
}

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

@media (max-width: 1200px) {
.projects-section {
padding: 5rem 1.5rem;
}

.project-card {
max-width: 100%;
}
}

@media (max-width: 992px) {
.section-title {
font-size: 2.75rem;
margin-bottom: 3rem;
}

.project-title {
font-size: 1.6rem;
}

.project-description {
font-size: 1rem;
}
}

@media (max-width: 768px) {
.projects-section {
padding: 4rem 1rem;
}

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

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

.project-image-container {
height: 220px;
}

.project-content {
padding: 1.5rem;
}

.project-link {
padding: 0.8rem 1.6rem;
font-size: 1rem;
}

.tech-tag {
padding: 0.4rem 0.8rem;
font-size: 0.85rem;
}
}

@media (max-width: 480px) {
.projects-section {
padding: 3rem 0.8rem;
}

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

.section-title::after {
width: 80px;
height: 3px;
}

.project-title {
font-size: 1.4rem;
}

.project-description {
font-size: 0.95rem;
margin-bottom: 1.5rem;
}

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

.tech-tag {
padding: 0.3rem 0.7rem;
font-size: 0.8rem;
}

.project-image-container {
height: 200px;
}

.project-card {
border-radius: 20px;
}

.project-content {
padding: 1.2rem;
}
}

@media (max-width: 360px) {
.section-title {
font-size: 1.8rem;
}

.project-title {
font-size: 1.3rem;
}

.project-description {
font-size: 0.9rem;
}

.project-image-container {
height: 180px;
}

.project-link {
padding: 0.7rem 1.4rem;
font-size: 0.9rem;
}
}

/* Touch Device Optimizations */
@media (hover: none) {
.project-card:hover {
transform: none;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-card:hover .project-image {
transform: none;
}

.project-link:hover {
transform: none;
}
}

/* High-DPI Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.project-image {
image-rendering: -webkit-optimize-contrast;
}
}

/* Landscape Mode Optimizations */
@media (max-height: 600px) and (orientation: landscape) {
.projects-section {
padding: 2rem 1rem;
}

.project-image-container {
height: 160px;
}

.project-content {
padding: 1rem;
}
}