/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;

}

body {
    color: #ededed;
    background-color: #1f3647;
}

.header {
    position: fixed;
    /* Ensures the header stays at the top */
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #1f3647;
    /* Change to a solid background if needed */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    /* Ensure it's on top of other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: Adds a shadow for better visibility */
}

.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    cursor: default;
    animation: slideRight 1s ease forwards;
}

.navbar {
    display: flex;
}

.navbar a {
    display: inline-block;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: 0.3s;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s*var(--i));
}

.navbar a:hover {
    color: #0ef;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}


@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}



@media (max-width: 768px) {
    .header {
        padding: 20px 5%;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        font-size: 20px;
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 3%;
    }

    .navbar a {
        font-size: 18px;
        margin: 8px 0;
    }
}

/* homes section start */

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space between text and image */
    padding: 70px 10%;
    text-align: left;
    /* Align text to the left */
    overflow: hidden;
    margin-bottom: 50px;
    /* Space below the section */
}

.home-content {
    max-width: 600px;
    margin-top: 2rem;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 15px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 span {
    color: #0ef;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 20px;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    transition: .5s ease;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
    margin: 30px 15px 30px 0;
}

.home-sci a:hover {
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
}

.btn-box {
    display: inline-block;
    padding: 12px 20px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
}

.btn-box:hover {
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
}



/* Responsive Styles */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        padding: 50px 5%;
        text-align: center;
        justify-content: center;
        margin-bottom: 40px;
    }

    .home-content {
        max-width: 100%;
        margin-right: 0;
        z-index: 2;
    }


    .home-content h1 {
        font-size: 40px;
    }

    .home-content p {
        font-size: 18px;
    }

    .home-sci a {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin: 10px 10px;
    }

    .btn-box {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 32px;
    }

    .home-content p {
        font-size: 16px;
    }

    .home-sci a {
        width: 30px;
        height: 30px;
        font-size: 16px;
        margin: 8px 8px;
    }

    .btn-box {
        padding: 8px 12px;
        font-size: 12px;
    }
}


/* about section */

.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
    margin-top: 50px;
}

.about-img {
    margin-left: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, #0ef, transparent 50%);
    box-shadow: 0 0 20px #0ef, 0 0 30px #0ef, 0 0 40px #0ef;
}

.about-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #ee2e3e;
    box-shadow: 0 0 10px #b14c4c, 0 0 20px #185a9d;
    object-fit: cover;
    /* Ensure image covers container */
}

.about-text {
    padding: 0 20px;
}

.about-text h2 {
    font-size: 60px;
}

.about-text h2 span {
    color: #0ef;
}

.about-text h4 {
    font-size: 29px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin: 15px 0 30px;
}

.about-text p {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.btn-box {
    display: inline-block;
    padding: 12px 20px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
}

.btn-box:hover {
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
}

/* Responsive styles */
@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        padding: 10px;
        margin-bottom: 20px;
        margin-top: 40px;
    }

    .about-img {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .about-text {
        text-align: center;
        padding: 0;
    }

    .about-text h2 {
        font-size: 40px;
    }

    .about-text h4 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 18px;
    }
}

/* about section end */
/* services section  */
#services {
    color: aliceblue;
    font-size: 60px;
    padding-bottom: 70px;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.sub-title {
    text-align: center;
    font-size: 60px;
    padding-bottom: 10px;
}

.sub-title span {
    color: #0ef;
}

.container {
    padding: 90px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.service-list div {
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 1px 1px 20px #012290f7,
        1px 1px 40px #0053b8f7;
}

.service-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.service-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-list div a {
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.read {
    display: inline-block;
    padding: 12px 20px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef,
        0 0 25px #0ef;
}

.read:hover {
    box-shadow: 0 0 5px cyan,
        0 0 25px cyan, 0 0 50px cyan,
        0 0 100px cyan, 0 0 200px cyan;
}

.service-list div:hover {
    transform: translateY(-20px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        /* Reduce padding on smaller screens */
    }

    .sub-title {
        font-size: 40px;
        /* Adjust font size for smaller screens */
    }

    #services {
        font-size: 40px;
        /* Adjust font size for smaller screens */
    }

    .service-list {
        grid-template-columns: 1fr;
        /* Stack items vertically on small screens */
        grid-gap: 20px;
        /* Adjust gap between items */
    }

    .service-list div {
        padding: 20px;
        /* Reduce padding in service items */
    }

    .service-list div i {
        font-size: 40px;
        /* Adjust icon size */
    }

    .service-list div h2 {
        font-size: 24px;
        /* Adjust heading size */
    }

    .service-list div a {
        font-size: 14px;
        /* Adjust link font size */
    }
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
/* portfolio section */
/* Main Text */
.main-text {
    padding-top: 50px;
    /* Reduced padding for smaller screens */
    margin-top: 50px;
    /* Reduced margin for smaller screens */
}

.main-text h1 {
    font-size: 28px;
    /* Adjusted font size for better fit on smaller screens */
    line-height: 1.2;
    text-align: center;
    justify-content: center;
    text-decoration: underline;
}

.main-text h1 span {
    color: #0ef;
}

/* Portfolio Content */
.portfolio-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Added gap between items */
    padding: 10px;
}

/* Row */
.row {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    flex: 1 1 calc(33.333% - 20px);
    /* Adjust width for responsiveness */
    max-width: calc(33.333% - 20px);
    /* Ensure maximum width for three columns layout */
    box-sizing: border-box;
}

.row img {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgb(0, 0, 0, 0.1), #0ef);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: height 0.5s;
}

.layer h5 {
    color: #fff;
    font-size: 20px;
    /* Adjusted font size for smaller screens */
    font-weight: 600;
    margin-bottom: 10px;
}

.layer p {
    color: #fff;
    font-size: 14px;
    /* Adjusted font size for smaller screens */
    line-height: 1.6;
    padding: 0 10px;
    /* Added padding for better readability */
}

.layer i {
    color: #ff004f;
    margin-top: 10px;
    /* Adjusted margin for better fit */
    font-size: 20px;
    /* Adjusted icon size */
    background: #fff;
    width: 50px;
    /* Adjusted size */
    height: 50px;
    /* Adjusted size */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img {
    transform: scale(1.1);
}

.row:hover .layer {
    height: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .row {
        flex: 1 1 calc(50% - 20px);
        /* Two columns layout */
        max-width: calc(50% - 20px);
        /* Ensure maximum width for two columns layout */
    }
}

@media (max-width: 768px) {
    .row {
        flex: 1 1 100%;
        /* Single column layout */
        max-width: 100%;
    }

    .main-text h1 {
        font-size: 24px;
        /* Further reduced font size */
    }

    .layer h5 {
        font-size: 18px;
        /* Adjusted font size */
    }

    .layer p {
        font-size: 12px;
        /* Adjusted font size */
    }

    .layer i {
        font-size: 18px;
        /* Adjusted icon size */
        width: 40px;
        /* Adjusted size */
        height: 40px;
        /* Adjusted size */
    }
}

/* portfoliosection end */

/* contact start */
/* Base styles */
.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 130px;
}

.contact-text h2 {
    font-size: 90px;
    line-height: 1;
    text-align: center;
}

.contact-text h2 span {
    color: aqua;
}

.contact-text h4 {
    margin: 15px 0;
    color: rgb(228, 228, 228);
    font-size: 20px;
    font-weight: 600;
}

.contact-text p {
    color: rgb(177, 177, 177);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2rem;
}

.contact-list {
    margin-bottom: 3rem;
}

.contact-list li {
    margin-bottom: 10px;
    display: block;
}

.contact-list i {
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.contact-list li a:hover {
    transform: scale(1.01) translateY(-5px);
    color: #0ef;
}

.contact-icons i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: 0.5s ease;
}

.contact-icons i:hover {
    background: #0ef;
    color: #000;
    box-shadow: 0 0 20px #0ef;
}

.contact-form form {
    position: relative;
}

.contact-form form input,
.contact-form form textarea {
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: #555557;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.contact-form textarea {
    resize: none;
    height: 220px;
}

.contact-form form .send {
    display: inline-block;
    padding: 14px 60px;
    background: #0ef;
    border-radius: 40px;
    font-size: 18px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
}

.contact-form form .send:hover {
    box-shadow: 0 0 5px rgb(132, 217, 217), 0 0 25px rgb(138, 207, 207), 0 0 50px rgb(70, 142, 142), 0 0 100px cyan, 0 0 200px rgb(187, 217, 217);
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact {
        grid-template-columns: 1fr;
        /* Stack columns on smaller screens */
        padding: 20px;
        /* Adjust padding for smaller screens */
        margin-top: 50px;
        /* Reduced margin for smaller screens */
    }

    .contact-text h2 {
        font-size: 36px;
        /* Smaller font size for smaller screens */
    }

    .contact-text h4 {
        font-size: 18px;
        /* Smaller font size for smaller screens */
    }

    .contact-text p {
        font-size: 16px;
        /* Smaller font size for smaller screens */
        line-height: 1.6;
        /* Adjusted line-height */
        margin-bottom: 1.5rem;
        /* Reduced margin */
    }

    .contact-list {
        margin-bottom: 1.5rem;
        /* Reduced margin */
    }

    .contact-list li {
        margin-bottom: 8px;
        /* Reduced margin */
    }

    .contact-list i {
        font-size: 18px;
        /* Smaller font size */
    }

    .contact-icons i {
        width: 35px;
        /* Smaller icon size */
        height: 35px;
        /* Smaller icon size */
        font-size: 18px;
        /* Smaller icon font size */
        margin: 15px 10px;
        /* Adjusted margin */
    }

    .contact-form form input,
    .contact-form form textarea {
        width: 100%;
        /* Full width for better fit */
        font-size: 0.9rem;
        /* Smaller font size */
    }

    .contact-form textarea {
        height: 150px;
        /* Reduced height */
    }

    .contact-form form .send {
        padding: 12px 40px;
        /* Adjusted padding */
        font-size: 16px;
        /* Smaller font size */
    }
}

/* contact end */

/* copyright */
/* Base styles */
.last-text {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

.last-text p {
    font-size: 14px;
    margin: 0;
}

.top {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #0ef;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.top:hover {
    background: #00d1ff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Responsive styles */
@media (max-width: 768px) {
    .last-text {
        padding: 15px;
    }

    .last-text p {
        font-size: 12px;
    }

    .top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
}


/* animation */
@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* Portfolio section styles */
/* Portfolio section styles */
#Portfolio {
  padding: 80px 10% 60px;
  background: #1f242d;
}

.main-text .section-description {
  color: #b8b8b8;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 15px auto 0;
  text-align: center;
  line-height: 1.6;
}

/* Portfolio controls */
.portfolio-controls {
  margin: 40px 0 30px;
}

.search-box {
  position: relative;
  max-width: 500px;
  margin: 0 auto 25px;
}

.search-box input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border-radius: 30px;
  border: 1px solid #444;
  background: #2d343f;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: #0ef;
  box-shadow: 0 0 10px rgba(0, 238, 255, 0.3);
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 1.2rem;
}

.filter-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: transparent;
  border: 1px solid #444;
  color: #b8b8b8;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
  background: #0ef;
  color: #1f242d;
  border-color: #0ef;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-controls label {
  color: #b8b8b8;
  font-size: 0.9rem;
}

.sort-controls select {
  background: #2d343f;
  color: #fff;
  border: 1px solid #444;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
}

/* Projects grid */
.portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background: #2d343f;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 238, 255, 0.2);
}

.project-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #444;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 12px;
  color: #0ef;
  font-size: 1.3rem;
}

.project-info p {
  color: #b8b8b8;
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.project-year {
  color: #0ef;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(0, 238, 255, 0.1);
  color: #0ef;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 238, 255, 0.3);
}

/* Modal styles */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow-y: auto;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #1f242d;
  margin: 50px auto;
  padding: 30px;
  width: 85%;
  max-width: 1000px;
  border-radius: 15px;
  position: relative;
  border: 1px solid #444;
  box-shadow: 0 0 30px rgba(0, 238, 255, 0.1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover {
  color: #0ef;
  transform: scale(1.2);
}

.modal-body {
  color: #fff;
}

.modal-body h2 {
  color: #0ef;
  margin-bottom: 20px;
  font-size: 2rem;
}

.modal-body .project-subtitle {
  color: #b8b8b8;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.project-gallery {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.project-gallery img {
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.05);
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .project-content {
    grid-template-columns: 1fr;
  }
}

.project-description {
  margin-bottom: 25px;
  line-height: 1.7;
}

.project-details {
  background: #2d343f;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.project-details h3 {
  color: #0ef;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.detail-item {
  margin-bottom: 12px;
  display: flex;
}

.detail-item strong {
  min-width: 120px;
  color: #0ef;
}

.features-list {
  list-style-type: none;
  padding-left: 0;
}

.features-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #444;
  display: flex;
  align-items: center;
}

.features-list li:before {
  content: '✓';
  color: #0ef;
  margin-right: 10px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.tech-tag {
  background: rgba(0, 238, 255, 0.2);
  color: #0ef;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.tech-tag i {
  margin-right: 8px;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link.github {
  background: #333;
  color: #fff;
}

.project-link.demo {
  background: #0ef;
  color: #1f242d;
  font-weight: 600;
}

.project-link i {
  margin-right: 8px;
}

.project-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 238, 255, 0.3);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 50px;
}

.pagination button {
  background: #2d343f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination button:hover:not(:disabled) {
  background: #0ef;
  color: #1f242d;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 5px;
}

.page-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-number:hover, .page-number.active {
  background: #0ef;
  color: #1f242d;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .portfolio-content {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .filter-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  #Portfolio {
    padding: 60px 5%;
  }
  
  .portfolio-content {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .filter-controls {
    justify-content: center;
  }
  
  .project-card {
    max-width: 100%;
  }
}