* {
    font-family: "Rubik Pixels", system-ui;
    font-weight: bold;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

li,
p,
a {
    font-size: 1.6rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 3rem;
}


.row {
    margin: 0;
}

/*  nav + logo */


#logo {
    display: initial;
    font-weight: 600;
    font-size: 3.5rem;
    letter-spacing: 1px;
    text-transform: capitalize;
    color: #0231a6;
    text-shadow: 2px 5px 3px rgb(149, 139, 139);
    padding: 0;
}


body {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #f4f4f4;
}


.button-container {
    text-align: center;
    margin-bottom: 30px;
}

button {
    background: linear-gradient(90deg, #024ab0, #00287f);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 1.6rem;
    transition: background 0.3s, transform 0.3s;
}

button:hover {
    background: linear-gradient(90deg, #032064, #e6e6e6);
    transform: scale(1.05);
}

/* navbar */

.navbar-style {
    background-color: #f8f9fa;
    box-shadow: 2px 4px 13px 1px rgba(8, 8, 8, 0.04);
}

.navbar-light .navbar-nav .nav-link {
    color: #333333;
    text-transform: capitalize;
    letter-spacing: 0.1rem;
    padding-left: 1rem;
    font-size: 25px;
    padding: 14px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #f40000;
    font-family: "Rubik Pixels", system-ui;
    font-weight: bold;
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-toggler {
    border: black;
}


.navbar-collapse {
    justify-content: center;
}

.container-fluid {
    padding: 0;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #007bff;
}



/* search bar */

.search_container.my-4 {
    display: flex;
    justify-content: center;
    /* Horizontally center the content */
    align-items: center;
    /* Vertically center the content, if needed */
    margin: 0 auto;
    /* Center the container itself, optional */
}

/* Custom Search Bar Styling */
.input__container {
    position: relative;
    background: #f0f0f0;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    border: 4px solid #000;
    max-width: 350px;
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-10deg);
    perspective: 1000px;
    box-shadow: 10px 10px 0 #000;
}

.input__container:hover {
    transform: rotateX(5deg) rotateY(1deg) scale(1.05);
    box-shadow: 25px 25px 0 -5px #160be9, 25px 25px 0 0 #000;
}

.shadow__input {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
    transform: translateZ(-50px);
    background: linear-gradient(45deg,
            rgba(255, 107, 107, 0.4) 0%,
            rgba(255, 107, 107, 0.1) 100%);
    filter: blur(20px);
}

.input__button__shadow {
    cursor: pointer;
    border: 3px solid #000;
    background: #0a97d4;
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transform: translateZ(20px);
    position: relative;
    z-index: 3;
    font-weight: bold;
    text-transform: uppercase;
}

.input__button__shadow:hover {
    background: #055cd7;
    transform: translateZ(10px) translateX(-5px) translateY(-5px);
    box-shadow: 5px 5px 0 0 #000;
}

.input__button__shadow svg {
    fill: #000;
    width: 25px;
    height: 25px;
}

.input__search {
    width: 100%;
    outline: none;
    border: 3px solid #000;
    padding: 15px;
    font-size: 18px;
    background: #fff;
    color: #000;
    transform: translateZ(10px);
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 3;
    font-family: "Rubik Pixels", system-ui;
    letter-spacing: -0.5px;
}

.input__search::placeholder {
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
}

.input__search:hover,
.input__search:focus {
    background: #f0f0f0;
    transform: translateZ(20px) translateX(-5px) translateY(-5px);
    box-shadow: 5px 5px 0 0 #000;
}

.input__container::before {
    content: "PROJECT";
    font-family: "Rubik Pixels", system-ui;
    position: absolute;
    top: -15px;
    left: 20px;
    background: #08a7f6;
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 14px;
    transform: translateZ(50px);
    z-index: 4;
    border: 2px solid #000;
}

/* Projects : */

.prj_ct {
    gap: 50px;
}

/* Projects Grid */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center the grid items */
    gap: 30px;
    /* Spacing between cards */
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    /* Center the grid container */
    font-family: "Rubik Pixels", system-ui;
}

/* Project Card */
.project-card {
    flex: 0 1 calc(33.333% - 40px);
    /* 3 cards per row with spacing */
    box-sizing: border-box;
    max-width: calc(33.333% - 40px);
    /* Ensure the max width matches the flex-basis */
}

/* Load More Button */
.load-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #585df2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Light Button Animation */

.light-button button.bt {
    position: relative;
    height: 150px;
    display: flex;
    align-items: flex-end;
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
}

.light-button button.bt .button-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100%;
    background-color: #0a0a0a;
    border-radius: 5px;
    color: #0f0f0f;
    font-weight: 700;
    transition: color 300ms, outline-color 300ms;
    outline: #0f0f0f 2px solid;
    outline-offset: 10px;
}

.light-button button.bt .button-holder svg {
    height: 60px;
    fill: #0f0f0f;
    transition: fill 300ms;
}

.light-button button.bt .light-holder {
    position: absolute;
    height: 150px;
    width: 150px; /* Adjust size if necessary */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.light-button button.bt .light-holder .light {
    position: absolute;
    width: 150%; /* Larger than the button to cover it */
    height: 150%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0; /* Start hidden */
    transition: opacity 300ms ease;
    z-index: -1;
}

.light-button button.bt.color-1:hover .button-holder svg {
    fill: rgb(191, 219, 30);
}

.light-button button.bt.color-1:hover .button-holder {
    color: rgb(197, 216, 21);
    outline: rgb(221, 255, 0) 2px solid;
    outline-offset: 2px;
}

.light-button button.bt.color-1:hover .light-holder .light {
    background: linear-gradient(180deg, rgb(247, 251, 18) 0%, rgba(200, 20, 100, 0) 75%, rgba(200, 20, 100, 0) 100%);
    opacity: 1; /* Make light visible on hover */
}

/* btn 2 */

.light-button button.bt.color-2:hover .button-holder svg {
    fill: rgba(26, 233, 57, 1);
}

.light-button button.bt.color-2:hover .button-holder {
    color: rgba(26, 233, 57, 1);
    outline: rgba(26, 233, 57, 1) 2px solid;
    outline-offset: 2px;
}

.light-button button.bt.color-2:hover .light-holder .light {
    background: linear-gradient(180deg, rgb(26, 233, 57) 0%, rgba(20, 200, 100, 0) 75%, rgba(20, 200, 100, 0) 100%);
    opacity: 1;
}

/* button 3 */

.light-button button.bt.color-3:hover .button-holder svg {
    fill: rgba(26, 57, 233, 1);
}

.light-button button.bt.color-3:hover .button-holder {
    color: rgba(26, 57, 233, 1);
    outline: rgba(26, 57, 233, 1) 2px solid;
    outline-offset: 2px;
}

.light-button button.bt.color-3:hover .light-holder .light {
    background: linear-gradient(180deg, rgb(26, 57, 233) 0%, rgba(100, 20, 200, 0) 75%, rgba(100, 20, 200, 0) 100%);
    opacity: 1;
}

/* btn 4 */

.light-button button.bt.color-4:hover .button-holder svg {
    fill: rgb(247, 21, 21);
}

.light-button button.bt.color-4:hover .button-holder {
    color: rgb(238, 21, 21);
    outline: rgb(235, 8, 8) 2px solid;
    outline-offset: 2px;
}

.light-button button.bt.color-4:hover .light-holder .light {
    background: linear-gradient(180deg, rgb(250, 0, 0) 0%, rgba(100, 20, 200, 0) 75%, rgba(100, 20, 200, 0) 100%);
    opacity: 1;
}

/* btn 5 */

.light-button button.bt.color-5:hover .button-holder svg {
    fill: rgb(255, 77, 0);
}

.light-button button.bt.color-5:hover .button-holder {
    color: rgb(255, 64, 0);
    outline: rgb(245, 81, 21) 2px solid;
    outline-offset: 2px;
}

.light-button button.bt.color-5:hover .light-holder .light {
    background: linear-gradient(180deg, rgb(237, 73, 2) 0%, rgba(100, 20, 200, 0) 75%, rgba(100, 20, 200, 0) 100%);
    opacity: 1;
}


/* project info container */
#project-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    max-width: 100%;  /* Allows the container to be as wide as the tab */
    width: 100%;  /* Ensures the container takes up full width */
    font-family: "Rubik Pixels", system-ui;

}

.project-info {
    text-align: center;
    font-family: "Rubik Pixels", system-ui;
    color: #000000;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.visit-btn:hover {
    background-color: #0056b3;
}



.footer {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer h2 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    color: #fff;
    margin: 0 15px;
    font-size: 24px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #ffcc00; /* Change to your preferred hover color */
}

.footer p {
    margin: 10px 0;
    font-size: 14px;
}