/* Base Styles */
:root {
    --primary-color: #7F55B1;
    --primary-light: #9B7EBD;
    --secondary-color: #F49BAB;
    --secondary-light: #FFE1E0;
    --text-color: #333;
    --light-text: #f8f9fa;
    --dark-text: #212529;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --border-radius: 16px;
    --navbar-height: 70px;
    /* --transition: all 0.3s ease; */
}

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

body {
    /* font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: var(--navbar-height);
    background-color: #f9f9f9;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Section Styles */
section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    text-align: center;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

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

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

.navbar-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* .navbar-menu {
    display: flex;
    list-style: none;
}

.navbar-item {
    margin-left: 30px;
} */

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 30px;
    position: relative;
    font-size: 1.1rem;
}

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

.nav-link:hover::before {
    width: 100%;
}

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

/* .navbar-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
    transform-origin: left center;
} */

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 20px 100px;
    background: linear-gradient(135deg, var(--secondary-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-light);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 800;
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--secondary-color);
    z-index: -1;
    opacity: 0.7;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 500;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-color);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

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

/* About Section */
.about {
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.about-image {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: var(--transition);
}

.about-image:hover::before {
    top: -15px;
    left: -15px;
}

.profile-pic {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.profile-pic:hover {
    transform: scale(1.02);
}

.about-content {
    flex: 1;
}

.about-text {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-left: 40px;
    line-height: 1.8;
}

.about-text p i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Skills Section */
.skills {
    background-color: var(--secondary-light);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-height: 180px;
    cursor: default;
}

.skill-item:hover {
    /* transform: translateY(-10px) scale(1.03); */
    box-shadow: var(--shadow-hover);
    background-color: var(--primary-color);
}

.skill-item:hover span {
    color: white;
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
    transition: var(--transition);
    /* filter: grayscale(30%); */
}

.skill-item:hover .skill-icon {
    /* filter: grayscale(0%) brightness(0) invert(1); */
    transform: scale(1.2);
}

.skill-item span {
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

/* Projects Section */
/* .projects {
    background-color: white;
} */

.project {
    max-width: 1200px;
    margin: 0 auto 60px;
    background-color: var(--secondary-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.project h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.project-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

/* GitHub Stats */
.github-stats {
    background-color: var(--secondary-light);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-link {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    min-width: 250px;
    justify-content: center;
}

.contact-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
    background-color: var(--primary-light);
}

.contact-link i {
    font-size: 1.8rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--primary-color);
    color: white;
}

.footer p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-social a {
    color: white;
    font-size: 1.8rem;
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-size: 1.5rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 150px 20px 80px;
    }

    .hero-content {
        margin-bottom: 60px;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 50px;
        max-width: 500px;
    }
    
    .skills-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-item {
        margin: 20px 0;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 10px 20px;
    }

    /* .navbar-toggle {
        display: flex;
        flex-direction: column;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    } */

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
        padding-left: 35px;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .contact-link {
        min-width: 200px;
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
    
    .skills-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .skill-item {
        padding: 20px;
        min-height: 150px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .project {
        padding: 30px 20px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}


/* ------------ */

/* Enhanced Navbar Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .navbar-container {
        padding: 0 15px;
    }
    
    /* .navbar-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    } */
    
    /* .toggle-line {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        border-radius: 3px;
        transition: var(--transition);
    } */
    
    /* .navbar-toggle.active .toggle-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .navbar-toggle.active .toggle-line:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active .toggle-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    } */
    
    /* .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20% 0;
        transition: var(--transition);
        z-index: 1000;
    } */
    
    /* .navbar-menu.active {
        left: 0;
    } */
    
    /* .navbar-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    } */
    
    /* .nav-link {
        display: inline-block;
        padding: 15px 25px;
        font-size: 1.5rem;
        width: 100%;
        max-width: 250px;
    } */
}

/* Enhanced Skills Section Mobile Styles */
.skills-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    min-width: min-content;
}

@media (max-width: 768px) {
    .skills-scroll-container {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .skills-scroll-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
        padding: 0 20px 20px;
        width: max-content;
        min-width: 100%;
    }
    
    .skill-item {
        padding: 15px;
        min-height: 120px;
    }
    
    .skill-icon {
        width: 40px;
        height: 40px;
    }
    
    .skill-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .skill-item {
        min-height: 110px;
    }
}



/* ===== Responsive Navbar Styles ===== */

/* Navbar Base Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

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

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Mobile Toggler Button */
.navbar-toggler {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Navigation Menu */
.navbar-collapse {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.navbar-nav {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

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

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

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }
    
    .navbar-collapse {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: inline-block;
        padding: 12px 20px;
        font-size: 1.3rem;
        width: 100%;
        max-width: 200px;
    }
    
    /* Animated Toggler */
    .navbar-toggler.active .toggler-icon:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .navbar-toggler.active .toggler-icon:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggler.active .toggler-icon:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Prevent body scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}



/* =====  ===== */
/* GitHub Cards Styling */
.github-section {
  background-color: var(--secondary-light);
  padding: 80px 20px;
}

.github-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 25px;
  margin: 20px auto;
  max-width: 500px;
  transition: var(--transition);
}

.github-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.github-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.github-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 3px solid var(--primary-color);
}

.github-info {
  flex: 1;
}

.github-name {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.github-username {
  color: var(--text-color);
  opacity: 0.8;
}

.github-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-top: 20px;
}

.stat {
  padding: 10px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
}

/* Repository Cards */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.repo-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: var(--transition);
}

.repo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.repo-name {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.repo-description {
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.5;
}

.repo-meta {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

.repo-meta span {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.repo-meta i {
  margin-right: 5px;
}

@media (max-width: 768px) {
  .repo-grid {
    grid-template-columns: 1fr;
  }
  
  .github-header {
    flex-direction: column;
    text-align: center;
  }
  
  .github-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
}


/* =====  ===== */

/* Projects Section */
/* .projects {
  background-color: var(--secondary-light);
  padding: 80px 20px;
} */

/* .project {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-bottom: 60px;
  transition: var(--transition);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
} */

/* .project h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
} */

/* .project h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
} */

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.project-card {
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

/* .project-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-top: 20px;
} */

/* Overlay effect */
.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: var(--transition);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .project {
    padding: 30px 20px;
  }
  
  .project-cards {
    grid-template-columns: 1fr;
  }
  
  .project-image {
    height: 200px;
  }
}