/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/* Existing CSS with responsive modifications */
.anks_main_section {
  width: 100%;
  background-color: #121212;
}

.anks_container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Header Styles */
.project-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}

.project-category {
  display: inline-block;
  background-color: #f6b81c;
  color: black;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 600;
  margin-left: auto;
}

.project-title {
  font-size: 2.8rem;
  background-color: transparent;
  color: white;
  padding: 0px !important;
  font-weight: 300;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: #f6b81c;
  max-width: 800px;
  opacity: 0.9;
  padding: 0 !important;
  line-height: 1.5;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}

.project-location span {
  color: #f6b81c;
}

/* Main Content Area */
.anks-main-content {
  flex: 1;
  min-width: 300px;
}

.content-section {
  background-color: #0a0a0a;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: #ccc;
}

.section-title {
  font-size: 1.8rem;
  color: #f6b81c;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2f2f2f;
  font-weight: 600;
  line-height: 1.3;
}

.scope-list,
.outcomes-list {
  list-style-type: none;
  padding-left: 0;
}

.scope-list li,
.outcomes-list li {
  padding: 10px 0;
  border-bottom: 1px solid #2f2f2f;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.scope-list li:last-child,
.outcomes-list li:last-child {
  border-bottom: none;
}

.list-icon {
  color: #f6b81c;
  margin-right: 15px;
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.challenge-box {
  background-color: #0a0a0a;
  border-left: 4px solid #f6b81c;
  padding: 20px;
  margin-top: 25px;
  border-radius: 0 5px 5px 0;
}

.challenge-title {
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.challenge-title i {
  margin-right: 10px;
  color: #f6b81c;
}

/* Sidebar Styles */
.sidebar {
  width: 350px;
  min-width: 300px;
}

.related-projects {
  background-color: #0a0a0a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 30px;
}

.sidebar-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2f2f2f;
  font-weight: 600;
}

.related-project {
  display: flex;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #2f2f2f;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  color: #ccc;
}

.related-project:hover {
  transform: translateX(5px);
}

.related-project:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-img {
  width: 100px;
  height: 80px;
  border-radius: 5px;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
}

.related-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: white;
  line-height: 1.3;
}

.related-content p {
  font-size: 0.9rem;
  color: #9e9e9e;
  margin-bottom: 8px;
  line-height: 1.4;
}

.related-tag {
  display: inline-block;
  background-color: #f6b81c;
  color: #000;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* Footer */
.project-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #2f2f2f;
  flex-wrap: wrap;
  gap: 15px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #f6b81c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 1rem;
  padding: 8px 0;
}

.back-link:hover {
  color: #f6b81c;
  opacity: 0.9;
}

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

.project-meta {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive Styles */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .anks_container {
    padding: 15px;
    gap: 25px;
  }

  .project-header {
    padding: 50px 25px;
    margin-bottom: 15px;
  }
  .project-category {
    font-size: 14px;
  }
  .section-title {
    font-size: 24px;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-subtitle {
    font-size: 16px;
  }

  .content-section {
    padding: 25px !important;
  }
  .anks-main-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .sidebar {
    width: 100%;
  }
  .sidebar-title {
    font-size: 30px;
  }
  .related-content h4 {
    font-size: 24px;
  }
  .related-content p {
    font-size: 14px;
  }
  .related-tag {
    font-size: 12px;
  }
  .related-projects {
    padding: 20px;
  }
  .related-project-item {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .related-project-item .related-project {
    background-color: #121212;
    border-radius: 10px;
    padding: 15px;
    height: 100%;
  }
  .back-link {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .content-section {
    height: 100%;
  }
  .sidebar-title {
    font-size: 24px;
  }
  .related-project {
    display: flex;
    flex-direction: column;
  }
  .related-project img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .related-content h4 {
    font-size: 18px;
  }
  .related-content p {
    font-size: 12px;
  }
}

/* Mobile (480px - 600px) */
@media (max-width: 600px) {
  .anks-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
      .related-project-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Extra Small Mobile (up to 360px) */
@media (max-width: 360px) {
    .project-category{
        font-size: 10px;
        padding: 0px 10px;
        margin-right: auto;
        margin-left: 0;
    }
  .project-title{
    font-size: 1.8em;
    padding-top: 0px !important;
  } 
  .project-subtitle {
    font-size: 12px;
  }
  .project-location {
    font-size: 12px;
  }
  .section-title {
    font-size: 20px;
  }
  .content-section {
    font-size: 12px;
  }
   .sidebar-title {
    font-size: 20px;
  }
  .related-tag {
    font-size: 10px;
  }
}
