:root {
    --primary-color: #aa0303;
    --secondary-color: #302b2b;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --border-radius: 10px;
    --card-gap: 24px;
    --track-padding: 40px;
    --cards-visible: 4;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.visually_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/*Navbar style*/
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.6s ease, backdrop-filter 0.6s ease, border-color 0.6s ease;
    border-bottom: 1px solid transparent;

    .nav_ul {
        display: flex;
        align-items: center;
        padding: 5px 20px;
        margin: 0;
    }

    .nav_img {
        margin-right: auto;
        padding: 10px;
        text-decoration: none;
        color: var(--text-color);
    }

    .nav_img img {
        padding: 1px;
        height: clamp(18px, 4vw, 28px);
        width: auto;
        transition: filter 0.2s ease, height 0.2s ease, padding 0.2s ease;
    }

    .nav_img img:hover {
        padding: 0px;
        filter: brightness(1.1);
        height: 32px;
    }

    .nav_links {
        display: flex;
        gap: 0;
    }

    .nav_links a {
        display: flex;
        text-decoration: none;
        color: rgb(from var(--text-color)r g b / 0.6);
        font-size: 20px;
        font-weight: bold;
        padding: 15px 30px;
        background-image: linear-gradient(var(--primary-color), var(--primary-color));
        background-size: 0% 100%;
        background-repeat: no-repeat;
        background-position: left bottom;
        transition: background-color 0.2s ease, transform 0.2s ease, background-size 0.2s ease;
    }

    .nav_links a:hover {
        background-size: 100% 100%;
        transform: scale(1.05);
    }

    .nav_links a.nav_highlight {
        color: var(--text-color);
    }

    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        margin-left: 10px;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-color);
        border-radius: 2px;
    }
}

nav.scrolled {
    background-color: rgb(from var(--background-color) r g b / 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/*Drawer style*/
/* This part was made with the help of Claude AI */
.drawer_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer_overlay.active {
    opacity: 1;
    pointer-events: all;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background-color: rgb(from var(--secondary-color) r g b / 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.drawer.active {
    transform: translateX(0);
}

.drawer_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.drawer_title {
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.drawer_close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
}

.drawer_close:hover {
    background-color: rgba(255,255,255,0.08);
}

.drawer_nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 100px;
}

.drawer_nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 0;
    border-left: 3px solid transparent;
    transition: background-color 0.2s ease, border-left-color 0.2s ease, color 0.2s ease;
}

.drawer_nav a:hover {
    background-color: rgba(255,255,255,0.05);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

/*end of drawer*/

/*Navbar and drawer responsiveness*/
@media (max-width: 768px) {
    nav .nav_links {
        display: none;
    }

    nav .hamburger {
        display: flex;
    }
}

/*end of navbar and drawer*/

/*Home page*/

/*Hero section style*/
.hero {
    position: relative;
    height: 100vh;
    background-image: url(images/hero-placeholder.webp);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    margin: 0%;
    padding: 0%;


    .hero_overlay {
    position: absolute;
    inset: 0;
    background-color: var(--background-color);
    opacity: 0;
    pointer-events: none;
    }

    .hero_content {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 40%;
    max-width: 600px;
    height: 30%;
    max-height: 250px;
    }


    h1 {
    font-size: clamp(25px, 3vw, 60px);
    margin : 10px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    }

    p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgb(from var(--text-color) r g b / 0.8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 10px;
    }

}
/*Learn more button style*/
.learn_more {
  text-decoration: none;
  color: var(--text-color);
  font-size: clamp(18px, 3vw, 36px);
  margin: auto auto 20px 30px;
  background-image: linear-gradient(var(--primary-color), var(--primary-color));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  z-index: 10;
  transition: transform 0.3s ease, font-weight 0.3s ease, background-size 0.3s ease;
  }

.learn_more:hover {
  transform: scale(1.02);
  font-weight: 300;
  box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.233);
  background-size: 100% 100%;
  
 }

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px; /* how tall the fade is */
    background: linear-gradient(to bottom, transparent, var(--background-color));
}


/* This part was made with the help of Claude AI */


.carousel_title {
  font-size: clamp(30px, 4vw, 60px);
  margin: 40px 20px 20px 20px;
}

.carousel_outer {
  position: relative;
  width: 100%;

  .carousel_wrapper {
    overflow: hidden;
    padding: 20px var(--track-padding);
    box-sizing: border-box;
  }

  .carousel_track {
    display: flex;
    gap: var(--card-gap);
    transition: transform 0.4s ease;
    width: 100%;
  }

  .carousel_card {
    flex-shrink: 0;
      width: calc(
    (100% - ((var(--cards-visible) - 1) * var(--card-gap))) / var(--cards-visible));
  
    border-radius: var(--border-radius);
    height: 400px;
    background-color: var(--secondary-color);
    box-shadow: 8px 8px 5px #202020;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .carousel_card .text_highlight {
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 4px 4px;
    transition: background-size 0.3s ease;
  }

  .carousel_card:hover .text_highlight {
    background-size: 100% 100%;
  }

  .carousel_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .carousel_card .card_content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  }

  .carousel_card .card_content h2 {
    color: var(--text-color);
    font-size: clamp(18px, 2vw, 30px);
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
  }

  .carousel_card .card_content p {
    color: var(--text-color);
    margin: 0;
  }

  .carousel_card:hover {
    transform: scale(1.03);
    box-shadow: 12px 12px 20px #151515;
    z-index: 10;
  }

    .carousel_btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        background: var(--secondary-color);
        color: var(--text-color);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        font-size: 18px;
    }

    .prev { left: var(--track-padding); }
    .next { right: var(--track-padding); }

  .carousel_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot.active {
    background-color: var(--primary-color);
  }

  .carousel_more {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .carousel_more a {
    text-decoration: none;
    color: var(--text-color);
    font-size: clamp(16px, 2vw, 20px);
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding: 6px 10px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: background-size 0.3s ease;
  }

  .carousel_more a:hover {
    background-size: 100% 100%;
  }


}

/* Services grid */
.services_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 40px;
}

.service_card {
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    background-color: rgb(from var(--secondary-color) r g b / 0.3);
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border: 4px solid rgb(from var(--secondary-color) r g b / 0.3);
    border-left: 4px solid var(--primary-color);
    padding: 28px 24px;
    text-decoration: none;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    transition: background-size 0.2s ease;

    i:first-child {
        font-size: 32px;
        color: var(--primary-color);
        flex-shrink: 0;
        transition: color 0.2s ease;
    }

    .service_card_text {
        flex: 1;
    }

    .service_card_title {
        color: var(--text-color);
        font-size: 16px;
        font-weight: bold;
        margin: 0 0 4px;
    }

    .service_card_sub {
        color: rgb(from var(--text-color) r g b / 0.45);
        font-size: 12px;
        margin: 0;
    }

    .service_card_arrow {
        color: rgba(255,255,255,0.3);
        font-size: 16px;
        margin-left: auto;
    }
}

.service_card:hover {
    background-size: 100% 100%;

    i:first-child{
        color: var(--text-color);
    }
}

@media (max-width: 768px) {
    .services_grid {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .services_grid {
        grid-template-columns: 1fr;
    }
}
/* end of services grid */

/*Contact section*/

  .contact_title {
    font-size: clamp(30px, 4vw, 60px);
    margin: 140px 20px 20px 20px;
  }
.contact_container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin: 40px;
    box-shadow: 4px 4px 5px #202020;
   
  .contact_title {
    font-size: clamp(30px, 4vw, 60px);
    margin: 40px 20px 20px 20px;
  }
  .contact_info h2 {
    font-size: clamp(24px, 3vw, 48px);
    font-weight: bold;
    margin: 0 0 20px 0;
  }

  .contact_info {
    color: var(--text-color);
    font-size: clamp(16px, 2vw, 20px);
    margin: 0 0 40px;
  }

  .contact_details {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 20px;
    /*padding: 10px*/
  }

  .contact_details i {
    font-size: 24px;
    color: var(--primary-color);
  }

  .contact_details a {
    color: var(--text-color);
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: background-size 0.2s ease;
    padding: 2px 4px;
  }

  .contact_details a:hover {
    background-size: 100% 100%;
    
  }
 
  .contact_divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px 0;

  }

  .contact_follow {
    font-size: 20px;
    color: var(--text-color);
    margin: 5px 0 20px 0;
  }

  .contact_socials {
    display: flex;
    gap: 20px;
  }

  .social_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    font-size: 30px;
    text-decoration: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .social_btn:hover {
    background-color: var(--primary-color);
    border: 0.5px solid var(--text-color);
    transform: scale(1.1);
  }

  .contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .form_field {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .form_field label {
    font-size: clamp(14px, 2vw, 25px);
    color: var(--text-color);
    letter-spacing: 0.5px;
  }

  .form_field input {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    padding: 5px 10px;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: clamp(5px, 2vw, 18px);
    font-family: inherit;

  }
  
  .form_field textarea {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    padding: 5px 10px;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: clamp(5px, 2vw, 18px);
    font-family: inherit;
    resize: none;
  }

  .form_field input:focus {
    outline: none;
    border: 1px solid var(--primary-color);
  }

  .form_field textarea:focus {
    outline: none;
    border: 1px solid var(--primary-color);
  }

  .form_field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }

  .form_field textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }

  .contact_form button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    font-size: clamp(16px, 2vw, 20px);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: background-color 0.2s ease;
  }

  .contact_form button:hover {
    background-color: rgb(from var(--primary-color) r g b / 0.75);
  }
}

/*end of contact section*/


/*Home page responsiveness*/
@media (max-width: 1100px) {
    .contact_container {
        grid-template-columns: 1fr;
        margin: 20px;
        padding: 20px;

        .form_row {
            grid-template-columns: 1fr;
        }
    }
}

@media (max-width: 900px) {
    .carousel_outer {
        --cards-visible: 2;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-size: cover; /* ← fills the full height on mobile */

        .hero_content {
            left: 7.5%;
            width: 85%;
            bottom: 15%;
            height: auto;
            max-height: none;
            text-align: center;
            align-items: center;
        }

        h1 {
            font-size: clamp(28px, 7vw, 42px);
        }

        p {
            font-size: clamp(16px, 4vw, 20px);
        }
    }

    .learn_more {
        font-size: clamp(16px, 4vw, 20px);
        margin: 10px 0 0 0;
    }
}

@media (max-width: 600px) {
    .carousel_title {
        margin: 20px 10px;
    }

    .carousel_outer {
        --cards-visible: 1;

        .carousel_wrapper {
            padding: 20px 24px;
        }

        .carousel_card {
            height: 300px !important;
        }

        .carousel_btn {
            display: none;
        }

        .carousel_dots {
            gap: 12px;
            padding: 20px 0;
        }

        .dot {
            width: 14px;
            height: 14px;
        }
    }

    .contact_container {
        grid-template-columns: 1fr;
        margin: 20px;
        padding: 20px;
        overflow: hidden;
        box-sizing: border-box;
        width: calc(100% - 40px);

        .contact_info {
            margin: 0;
        }

        .form_row {
            grid-template-columns: 1fr;
        }

        .social_btn {
            width: 50px;
            height: 50px;
            font-size: 22px;
        }

        .contact_socials {
            gap: 12px;
            margin-bottom: 20px;
        }

        .form_field input,
        .form_field textarea {
            width: 100%;
            box-sizing: border-box;
            font-size: 16px;
        }

        .form_field label {
            font-size: 16px;
        }

        .contact_divider {
            width: 100%;
            box-sizing: border-box;
        }
    }
}

@media (max-width: 380px) {
    .contact_container {
        .social_btn {
            width: 44px;
            height: 44px;
            font-size: 18px;
        }

        .contact_details {
            font-size: 14px;
        }
    }
}

/*end of Home page*/


/* About page */
.about_section {
    margin: 100px auto;
    max-width: 1100px;
    padding: 0 40px;

    h1 {
        background-color: var(--primary-color);
        margin-top: 0;
        width: fit-content;
        padding: 5px 14px;
        border-radius: var(--border-radius);
    }

    .about_container {
        display: grid;
        grid-template-columns: 3fr 2fr;
        gap: 40px;
        align-items: center;
        margin-bottom: 40px;
    }

    .about_text {
        display: flex;
        flex-direction: column;

        h2 {
            border-left: 3px solid var(--primary-color);
            color: var(--text-color);
            padding: 10px;
            font-weight: bold;
            margin-top: 0;
        }

        p {
            color: rgb(from var(--text-color) r g b / 0.8);
            font-size: clamp(14px, 1.5vw, 16px);
            line-height: 1.8;
            margin-right: 10px;
        }

        a {
            text-decoration: none;
            font-weight: bold;
            font-size: 16px;
            color: var(--text-color);
            padding: 8px 16px;
            border: 1px solid var(--primary-color);
            border-radius: var(--border-radius);
            background-image: linear-gradient(var(--primary-color), var(--primary-color));
            background-size: 0% 100%;
            background-repeat: no-repeat;
            background-position: left bottom;
            width: fit-content;
            margin: 12px 0 0 0;
            transition: background-size 0.2s ease;
        }

        a:hover {
            background-size: 100% 100%;
        }
    }

    .about_image {
        height: 500px;
        background-color: var(--secondary-color);
        border-radius: var(--border-radius);
        overflow: hidden;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    .about_divider {
        border: none;
        border-top: 1px solid var(--secondary-color);
        margin: 0 0 32px;
    }

    .about_footer {
        h3 {
            color: rgba(255,255,255,0.4);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin: 0 0 16px;
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        li {
            background-color: var(--secondary-color);
            color: rgba(255,255,255,0.7);
            font-size: 13px;
            padding: 6px 14px;
            border-radius: 6px;
        }
    }
}

/* About page mobile */
@media (max-width: 768px) {
    .about_section {
        padding: 0 20px;
        margin: 80px auto 40px;

        .about_container {
            grid-template-columns: 1fr;
        }

        .about_image {
            order: -1;
        }
    }
}
/* end of about page */


/* Projects page */

.projects_section {
    margin: 100px auto;
    max-width: 1100px;
    padding: 0 40px;

    .visually_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    }

    .projects_header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    h1 {
        background-color: var(--primary-color);
        margin: 0;
        width: fit-content;
        padding: 5px 14px;
        border-radius: var(--border-radius);
    }

    .projects_filter_dropdown {
        display: none;
        width: fit-content;
        padding: 10px 36px 10px 15px;
        outline: none;
        background-color: var(--background-color);
        color: var(--text-color);
        border: 1.5px solid var(--primary-color);
        border-radius: var(--border-radius);
        font-family: inherit;
        font-size: 14px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
    }

    .projects_filter_dropdown:focus {
        outline: none;
    }

    .projects_filter_dropdown option {
        background-color: var(--background-color);
        color: var(--text-color);
    }

    .projects_container {
        margin-top: 10px;
    }

    .projects_container ul {
        display: flex;
        list-style: none;
        padding: 0;
        gap: 15px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .projects_container ul li a {
        display: flex;
        text-decoration: none;
        color: var(--text-color);
        padding: 10px 20px;
        border: 1.5px solid var(--secondary-color);
        border-radius: var(--border-radius);
        transition: border 0.1s ease, background-color 0.1s ease;
    }

    .projects_container ul li a:hover {
        border: 1.5px solid var(--primary-color);
        background-color: rgb(from var(--primary-color) r g b / 0.2);
    }

    .projects_container ul li a.active {
        border: 1.5px solid var(--primary-color);
        background-color: rgb(from var(--primary-color) r g b / 0.2);
    }

    .projects_card_container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .projects_card {
        position: relative;
        height: 200px;
        border-radius: var(--border-radius);
        background-color: var(--secondary-color);
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .projects_card:hover {
        transform: scale(1.02);
        box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.3);
        
    }

    .projects_card:hover h2 {
    background-size: 100% 100%;
    }

    .projects_card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .projects_card h4 {
        position: absolute;
        color: var(--text-color);
        top: 10px;
        right: 15px;
        margin: 0;
        background: rgba(0, 0, 0, 0.4);
        padding: 5px 10px;
        border-radius: var(--border-radius);
        font-size: 15px;
    }

    .projects_card_content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5px 10px;
        box-sizing: border-box;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.80), transparent);
    }

    .projects_card_content h2 {
        color: var(--text-color);
        font-size: clamp(15px, 2vw, 20px);
        font-weight: bold;
        padding: 5px 10px;
        width: fit-content;
        background-image: linear-gradient(var(--primary-color), var(--primary-color));
        background-size: 0% 100%;
        background-repeat: no-repeat;
        margin: 0 0 5px;
        transition: background-size 0.2s ease;
    }
    

    .projects_card_content p {
        color: rgb(from var(--text-color) r g b / 0.8);
        font-size: 15px;
        padding: 5px 10px;
        margin: 0 0 5px 0;
    }
}

/* Projects page responsiveness */
@media (max-width: 768px) {
    .projects_section {
        padding: 0 20px;
        margin: 80px auto 40px;

        .projects_header {
            align-items: center;
        }

        .projects_filter_dropdown {
            display: block;
        }

        .projects_container ul {
            display: none;
        }

        .projects_card_container {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media (max-width: 480px) {
    .projects_section {
        .projects_card_container {
            grid-template-columns: 1fr;
        }
    }
}

/* end of Projects page */

/*individual project page*/
.pr_section{
    margin: 100px auto;
    padding: 0 40px;
    max-width: 1100px;


    .pr_back {
        color: rgb(from var(--text-color) r g b / 0.6);
        background-image: linear-gradient(var(--primary-color), var(--primary-color));
        background-size: 0% 100%;
        background-repeat: no-repeat;
        background-position: left bottom;
        padding: 5px 10px;
        font-size: 20px;
        transition: background-size 0.2s ease, color 0.2s ease;
    }

    .pr_back:hover {
        background-size: 100% 100%;
        color: var(--text-color--);
    }

    h1 {
        font-size: 40px;
        margin: 20px 0 0 ;
    }

    p {
        color: rgb(from var(--text-color) r g b / 0.8);
        margin: 5px 5px 20px 5px;
    }

    .pr_container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
        

        .pr_about {
            width: 100%;


            h2 {
                border-left: 3px solid var(--primary-color);
                padding: 5px 10px;
            }

        }

        .pr_details {
            width: 100%;

            .pr_details_container {
                width: 100%;
                box-sizing: border-box;
                background-color: var(--secondary-color);
                padding: 15px 20px;
                margin: 0;
                border-radius: var(--border-radius);

                h3 {
                    color: rgb(from var(--text-color) r g b / 0.5);
                    font-weight: 400;
                    margin: 0;
                }

                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                    margin: 0;
                    padding: 20px 0px;
                }

                li {
                    display: flex;
                    list-style: none;
                    padding: 5px 0;
                    margin: 0;
                    color: rgb(from var(--text-color) r g b / 0.5);
                    border-bottom: 1px solid rgb(from var(--text-color) r g b / 0.5);
                    align-items: center;
                    justify-content: space-between;

                    p {
                        margin: 0;
                        padding: 5px 0;
                        flex-shrink: 0;
                        margin-right: 12px;
                    }

                    .pr_details_field {
                        color: var(--text-color);
                        font-weight: bold;
                        font-size: 16px;
                        text-align: right;
                        flex-shrink: 1;
                    }
                }

            }

            a {
                display: block;
                box-sizing: border-box;
                width: 100%;
                text-decoration: none;
                color: var(--text-color);
                padding: 15px 0;
                margin-top: 20px;
                border: 2px solid var(--primary-color);
                border-radius: var(--border-radius);
                text-align: center;
                background-image: linear-gradient(var(--primary-color), var(--primary-color));
                background-size: 0% 100%;
                background-repeat: no-repeat;
                background-position: left bottom;
                font-size: 18px;
                transition: background-size 0.2s ease, font-size 0.2s ease;

            }

            a:hover {
                background-size: 100% 100%;
                font-size: 20px;
            }
        }

    }
        .pr_buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
}



.pr_previous {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgb(from var(--text-color) r g b / 0.6);
    font-size: 16px;
    padding: 10px;
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: color 0.2s ease, background-size 0.2s ease;
}

.pr_previous:hover {
    background-size: 100% 100%;
    color: var(--text-color);
}

.pr_next {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgb(from var(--text-color) r g b / 0.6);
    font-size: 16px;
    padding: 10px;
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: right bottom;
    transition: color 0.2s ease, background-size 0.2s ease;
}

.pr_next:hover {
    background-size: 100% 100%;
    color: var(--text-color);
}

    
}

@media (max-width: 768px) {
    .pr_section {
        padding: 0 20px;
        margin: 80px auto 40px;

        .pr_container {
            grid-template-columns: 1fr;
        }

        h1 {
            font-size: clamp(24px, 6vw, 40px);
        }
    }
}

#pr_video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    border: none;
    display: block;
}

#pr_image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    object-fit: cover;
    display: block;
}

/*end of individual project page*/
    


/* footer */
footer {
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 60px;
}
/* end of footer */
