/* Fonts, general formatting for page */
.anek-devanagari {
  font-family: "Anek Devanagari", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: bold;
  font-variation-settings:
    "width" 100;
}
.epilogue {
  font-family: "Epilogue", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}


html, body {
  margin: 0;
  padding: 0;
  background-color: #202020;
  color: #000000;
  /* font-family: "Raleway", serif; */
  font-family: "Epilogue", sans-serif;
  line-height: 1.6;
}


/* End of fonts, general formatting for page */



/* link styles */
a {
  color: #ffffff;
}

/* header styles */
header {
  /* font-family: "Raleway", sans-serif; */
  font-family: "Anek Devanagari", sans-serif;
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.68);
  backdrop-filter: blur(8px);
  opacity: 1;
  padding: 0.5rem 2rem;
  padding-top: 0.8rem;
  box-sizing: border-box;
}

header ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style-type: none;
  justify-content: center;
}



header ul li a {
  color: rgb(0, 0, 0);
  font-size: 20px;
  text-decoration: none;
  color: #ffffff;
  padding: 5px 20px;
  margin: 0px 0px;
  position: relative;
  transition: all .5s;
  border-radius: 1.2rem;
}

a:hover {
  color: rgb(0, 157, 255);
  transform: translateY(-3px);
  border-radius: 1.2rem;
}

a::before {
  color: #949494;
  position: absolute;
  bottom: 12px; 
  left: 12px;
  height: 12px;
  width: 12px;
  border-width: 0 0 3px 3px;
  transform: all 0.3s;
}

a::after {
  content: "";
  position: absolute;
  top: 12px; 
  right: 12px;
  height: 12px;
  width: 12px;
  border-width: 3px 3px 0 0;
  transform: all 0.3s;
}
/* end of header styles */




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Epilogue", sans-serif;
    background: #202020;
}



.page-title{
  font-family: "Anek Devanagari", sans-serif;
  font-size: 4.5rem;
  padding: 0rem;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: auto;
  margin-top: 3rem;
  margin-bottom: 3rem;
}



.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(1px);
    color: #fff;
    padding: 8px 10px;
    font-size: 0.85em;
    line-height: 1.3;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide.active .slide-caption {
    transform: translateY(0);
}







.container {
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #151515;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

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


.minimize-hint {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-top: 15px;
    font-style: italic;
    opacity: 0.7;
}

.project-card.expanded .expand-hint {
    display: block !important;
    visibility: visible !important;
}



.project-card.expanded .project-content {
    cursor: default;
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.project-info {
    display: flex;
    flex-direction: column;
}




.project-title {
    font-family: "Anek Devanagari", sans-serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.2;
}


.brief-description {
    font-size: 1em;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

.skills {
    font-size: 0.95em;
    color: #ccc;
    margin-top: auto;
}

.expand-hint {
    font-style: italic;
    color: #949494;
    font-size: 0.9em;
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

.extended-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.project-card.expanded .extended-content {
    max-height: 2000px;
}



.extended-description {
    font-size: 1em;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
    padding: 0 30px 20px 30px;
}

.links {
    font-size: 0.95em;
    color: #ccc;
    margin-bottom: 10px;
}

.links a {
    color: rgb(0, 157, 255);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.links a:hover {
    color: rgb(0, 157, 255);
    transform: translateY(-3px);
}

.slideshow-container {
    position: relative;
    padding: 0 30px 30px 30px;
}

.slideshow {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 157, 255, 0.7);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 5px;
    font-weight: bold;
}

.slide-nav:hover {
    background: rgba(0, 157, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgb(0, 157, 255);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}





.pdf-container {
    text-align: center;
    margin: 30px auto;
    max-width: 90vw;
    height: 100vh; /* Add height */
}

.pdf-container iframe,
.pdf-container embed,
.pdf-container object {
    width: 100%;
    height: 100%;
    min-height: 800px; /* Fallback minimum height */
}




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

    .project-title {
        font-size: 2em;
    }

    .slideshow {
        height: 300px;
    }
}

