/* Add your custom styles here */
body, html {
    font-family: "Poppins", sans-serif;
    background-color: #3185FC;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}
  
  #logo {
    width: 161px;
    height: 50px;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #0e1111;
    color: #f2f0ef;
    box-shadow: #0e1111 1px;
  }
  
  nav {
    transition: background-color 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-sizing: border-box;
  }
  
  .navItems {
    display: flex;
    color: #f2f0ef;
    align-items: center;
  }
  
  .navItems a {
    margin-right: 32px;
    color: #f2f0ef;
    text-decoration: none;
  }
  
  .navItems .navItem4 {
    background-color: #f2f0ef;
    color: #0e1111;
    padding: 8px 16px;
    border-radius: 16px;
    font-weight: bold;
    border: #0e1111 3px solid;
  }
  
  .navItem4 {
    transition: all ease .5s;
  }
  
  .navItem2,
  .navItem3 {
    position: relative;
    text-decoration: none;
  }
  
  .navItem2::before,
  .navItem3::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3185FC;
    transition: width 0.3s ease;
  }
  
  .navItem2:hover::before,
  .navItem3:hover::before {
    width: 100%;
  }
  
  .navItem4:hover {
    background-color: #3185FC;
    color: #f2f0ef;
    border: #f2f0ef 2px solid;
    transition: all ease-in-out .5s;
  }

.project-header {
    text-align: center;
    padding: 100px 20px 20px;
    background-color: #0e1111;
    color: #f2f0ef;
}

.project-content {
    padding: 20px;
}

.project-description, .project-gallery, .project-details {
    margin-bottom: 40px;
}

.gallery-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-images img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
}

footer {
    background-color: #0e1111;
    color: #f2f0ef;
    text-align: center;
    padding: 20px;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-sizing: border-box;
}

.content {
    display: flex;
    height: calc(100vh - 100px);
    min-height: 500px;
}

.panelLeft {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #3185FC;
    padding-top: 88px;
    flex-grow: 1;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.panelRight {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f2f0ef;
    padding-top: 88px;
    flex-grow: 1;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.projectTitle {
    font-size: 2.5em;
    margin: 0;
    text-decoration: underline #3185FC 5px; 
    text-align: center;
}

.projectSubtitle {
    font-size: 1.3em;
    color: #0e1111;
    font-weight: bold;
    text-align: center;
}

.projectDesc {
    width: 75%;
    text-align: center;
    max-width: 600px;
}

.bold {
    font-weight: bold;
    color: #3185FC;
    font-size: 1.2em;
}

/* Project Thumbnail dynamic styling */

.projectThumbnail {
    width: 100%;
    max-width: 540px;
    display: flex;
    justify-content: center;
}

.projectThumbnail img {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 24px;
    border: #0e1111 10px solid;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    filter: brightness(0.95) contrast(1.05);
    will-change: transform, filter, box-shadow, border-color;
    backface-visibility: hidden;
    transform: translateZ(0) scale(1);
}

.projectThumbnail:hover img {
    transform: translateY(-8px) scale(1.03) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(49, 133, 252, 0.15);
    border-color: #3185FC;
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
    border-width: 8px;
}

.projectBtn {
    background-color: #0e1111;
    color: #f2f0ef;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, background-color;
    backface-visibility: hidden;
    transform: translateZ(0) translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(14, 17, 17, 0.2);
  }

  .projectBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 240, 239, 0.1), transparent);
    transition: left 0.6s ease;
  }

  .projectBtn:hover::before {
    left: 100%;
  }
  
  .projectBtn img {
    width: 32px;
    margin-right: 8px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .projectBtnText {
    margin-left: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .projectBtn:hover {
    background-color: #f2f0ef;
    color: #0e1111;
    transform: translateY(-3px) scale(1.02) translateZ(0);
    box-shadow: 0 15px 30px rgba(242, 240, 239, 0.25), 0 6px 15px rgba(0, 0, 0, 0.15);
    padding: 14px 32px;
  }

  .projectBtn:hover img {
    transform: rotate(12deg) scale(1.1);
  }

  .projectBtn:hover .projectBtnText {
    color: #0e1111;
    transform: translateX(2px);
  }

  .projectBtnImg2 {
    display: none;
}

.projectBtn:hover .projectBtnImg2 {
    display: block;
}

/* Media Queries for Responsive Design */

/* Large tablets and small desktops */
@media screen and (max-width: 1024px) {
    .projectThumbnail img {
        max-width: 450px;
    }
    
    .projectTitle {
        font-size: 2.2em;
    }
    
    .projectSubtitle {
        font-size: 1.2em;
    }
    
    .projectDesc {
        width: 80%;
    }
}

/* Medium tablets and small laptops */
@media screen and (max-width: 850px) and (min-width: 769px) {
    .content {
        flex-direction: column;
        height: auto;
        margin-top: 100px;
        margin-bottom: 140px;
        padding-top: 20px;
        padding-bottom: 20px;
        min-height: calc(100vh - 240px);
    }
    
    .panelLeft {
        width: 100%;
        padding: 80px 30px 50px 30px;
        background-color: #3185FC;
    }
    
    .panelRight {
        width: 100%;
        padding: 50px 30px 80px 30px;
        background-color: #f2f0ef;
        flex-grow: 1;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    body {
        overflow-y: auto;
        min-height: 100vh;
    }
    
    .content {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 140px);
        margin-top: 80px;
        margin-bottom: 120px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .panelLeft {
        width: 100%;
        padding: 60px 20px 40px 20px;
        min-height: auto;
        background-color: #3185FC;
    }
    
    .panelRight {
        width: 100%;
        padding: 40px 20px 60px 20px;
        min-height: auto;
        background-color: #f2f0ef;
        flex-grow: 1;
    }
    
    .projectThumbnail img {
        max-width: 400px;
    }
    
    .projectTitle {
        font-size: 2em;
        margin-bottom: 16px;
    }
    
    .projectSubtitle {
        font-size: 1.1em;
        margin-bottom: 16px;
    }
    
    .projectDesc {
        width: 90%;
    }
    
    nav {
        padding: 12px 16px;
    }
    
    #logo {
        width: 120px;
        height: 37px;
    }
    
    .navItems a {
        margin-right: 20px;
    }
    
    .navItems .navItem4 {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}

/* Small tablets and large phones */
@media screen and (max-width: 600px) {
    .content {
        margin-top: 90px;
        margin-bottom: 130px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .panelLeft {
        padding: 100px 15px 60px 15px;
        background-color: #3185FC;
    }
    
    .panelRight {
        padding: 60px 15px 100px 15px;
        background-color: #f2f0ef;
        flex-grow: 1;
    }
    
    .projectThumbnail img {
        max-width: 320px;
        border: #0e1111 8px solid;
    }
    
    .projectThumbnail:hover img {
        transform: translateY(-6px) scale(1.02) translateZ(0);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 6px 15px rgba(49, 133, 252, 0.12);
        border-width: 6px;
    }
    
    .projectTitle {
        font-size: 1.8em;
    }
    
    .projectSubtitle {
        font-size: 1em;
    }
    
    .projectDesc {
        width: 95%;
        font-size: 0.95em;
    }
    
    .projectBtn {
        padding: 10px 24px;
        font-size: 0.9em;
    }
    
    .projectBtn:hover {
        padding: 12px 28px;
        transform: translateY(-2px) scale(1.01) translateZ(0);
    }
    
    .projectBtn img {
        width: 28px;
    }
    
    nav {
        padding: 10px 12px;
    }
    
    #logo {
        width: 100px;
        height: 31px;
    }
    
    .navItems a {
        margin-right: 16px;
        font-size: 0.9em;
    }
    
    .navItems .navItem4 {
        padding: 5px 10px;
        font-size: 0.85em;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    .content {
        margin-top: 100px;
        margin-bottom: 140px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .panelLeft {
        padding: 100px 15px 50px 15px;
        background-color: #3185FC;
    }
    
    .panelRight {
        padding: 50px 15px 100px 15px;
        background-color: #f2f0ef;
        flex-grow: 1;
    }
    
    .projectThumbnail img {
        max-width: 280px;
        border: #0e1111 6px solid;
        border-radius: 20px;
    }
    
    .projectThumbnail:hover img {
        transform: translateY(-4px) scale(1.015) translateZ(0);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(49, 133, 252, 0.1);
        border-width: 5px;
    }
    
    .projectTitle {
        font-size: 1.6em;
    }
    
    .projectSubtitle {
        font-size: 0.95em;
    }
    
    .projectDesc {
        font-size: 0.9em;
    }
    
    .projectBtn {
        padding: 8px 20px;
        font-size: 0.85em;
    }
    
    .projectBtn:hover {
        padding: 10px 24px;
        transform: translateY(-2px) scale(1.01) translateZ(0);
    }
    
    .projectBtn img {
        width: 24px;
        margin-right: 6px;
    }
    
    nav {
        padding: 8px 10px;
    }
    
    #logo {
        width: 90px;
        height: 28px;
    }
    
    .navItems a {
        margin-right: 12px;
        font-size: 0.85em;
    }
    
    .navItems .navItem4 {
        padding: 4px 8px;
        font-size: 0.8em;
        border-radius: 12px;
    }
    
    footer {
        font-size: 0.9em;
        padding: 16px;
    }
}

/* Very small mobile phones */
@media screen and (max-width: 360px) {
    .content {
        margin-top: 110px;
        margin-bottom: 150px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .panelLeft {
        padding: 100px 10px 50px 10px;
        background-color: #3185FC;
    }
    
    .panelRight {
        padding: 50px 10px 100px 10px;
        background-color: #f2f0ef;
        flex-grow: 1;
    }
    
    .projectThumbnail img {
        max-width: 240px;
        border: #0e1111 5px solid;
        border-radius: 16px;
    }
    
    .projectThumbnail:hover img {
        transform: translateY(-3px) scale(1.01) translateZ(0);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18), 0 3px 10px rgba(49, 133, 252, 0.08);
        border-width: 4px;
    }
    
    .projectTitle {
        font-size: 1.4em;
    }
    
    .projectSubtitle {
        font-size: 0.9em;
    }
    
    .projectDesc {
        font-size: 0.85em;
    }
    
    .projectBtn {
        padding: 6px 16px;
        font-size: 0.8em;
    }
    
    .projectBtn:hover {
        padding: 8px 20px;
        transform: translateY(-1px) scale(1.005) translateZ(0);
    }
    
    .projectBtn img {
        width: 20px;
        margin-right: 4px;
    }
    
    #logo {
        width: 80px;
        height: 25px;
    }
    
    .navItems a {
        margin-right: 8px;
        font-size: 0.8em;
    }
    
    .navItems .navItem4 {
        padding: 3px 6px;
        font-size: 0.75em;
    }
}

/* Project Navigation Styles */
.project-navigation {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.project-nav-btn {
    background-color: #0e1111;
    color: #f2f0ef;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, background-color;
    backface-visibility: hidden;
    transform: translateZ(0) translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(14, 17, 17, 0.2);
    min-width: 120px;
    white-space: nowrap;
}

.project-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 240, 239, 0.1), transparent);
    transition: left 0.6s ease;
}

.project-nav-btn:hover::before {
    left: 100%;
}

.project-nav-btn:hover {
    background-color: #3185FC;
    color: #f2f0ef;
    transform: translateY(-3px) scale(1.02) translateZ(0);
    box-shadow: 0 15px 30px rgba(49, 133, 252, 0.25), 0 6px 15px rgba(0, 0, 0, 0.15);
}

.project-nav-btn:disabled {
    background-color: #666;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

.project-nav-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(14, 17, 17, 0.2);
    background-color: #666;
}

.project-nav-arrow {
    margin: 0 4px;
    font-size: 12px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .project-navigation {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .project-nav-btn {
        padding: 10px 16px;
        font-size: 12px;
        min-width: 100px;
    }
}

@media screen and (max-width: 480px) {
    .project-navigation {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .project-nav-btn {
        padding: 8px 14px;
        font-size: 11px;
        min-width: 90px;
    }
}
