* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fafafa;
}


.banner {
    position: relative;
    width: 100%;
    height: 40vh; /* adjust as needed */
    overflow: hidden;
}

.banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Projects Container --- */
.projects {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

/* --- Individual Project Layout (Flexbox) --- */
.project {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    margin-bottom: 4rem;
    gap: 2rem;
}

/* Alternating (Reverse) layout for odd projects */
.project.reverse {
    flex-direction: row-reverse;
}

/* --- Swiper (Image Gallery) Styling --- */
.project .swiper {
    flex: 1 1 500px; /* Base size and growth properties */
    min-width: 300px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Custom Swiper Pagination */
.swiper-pagination {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #999;
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    width: 30px; /* Stretched active bullet */
    height: 12px;
    border-radius: 20px;
    background: #333;
}

/* --- Project Content Styling --- */
.project-content {
    flex: 1 1 400px; /* Base size and growth properties for content */
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers content next to image */
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
}
.project-desc {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-meta {
    font-size: 0.9rem;
    color: #555;
}
.project-meta div {
    margin-bottom: 0.3rem;
}

/* --- Tags Styling --- */
.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.project-tags a {
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid #333;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s;
}
.project-tags a:hover {
    background: #333;
    color: #fff;
}

.project .swiper {
    flex: 1 1 500px;
    min-width: 300px;
    max-height: 480px;
    overflow: hidden;
    border-radius: 12px;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
  }