/*--------------------------This is for Hero styling-------------------------------------*/
/* Page Header */
.page-header {
  padding: 4rem 1rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  color: #66d9c4;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  color: #d1d5db;
}

/* Section Titles */
.projects-card {
  padding: 4rem 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid #e0e0e021;
}

.projects-card h2 {
  font-size: 1.75rem;
  color: #66d9c4;
  margin-bottom: 1rem;
  text-align: left;
}

.projects-card p {
  font-size: 1rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

/* Card Layout Consistency */
.section-card {
  margin-bottom: 3rem;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(to bottom right, #1c1d22, #343740);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-content img,
.video-container iframe {
  width: 100%;
  border-radius: 0.5rem;
}

.card-text h3 {
  font-size: 1.25rem;
  color: #bf7973;
  margin-bottom: 0.5rem;
}

.card-text p {
  font-size: 0.9rem;
  color: #d1d5db;
}


.hero {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 6rem;
}






/*--------------------------This is for Section layout styling-------------------------------------*/
.project-section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 6rem;
    border-top: 2px solid #d1d5db05;
}

.project-section img {
    border-radius: 0.5rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}


.project-card {
    padding-bottom: 4rem;
}

.card-content .tall-img {
    height: 500px;
    
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    background-color: #2d2f36; /* dark neutral to match your site */
    padding: 0.5rem;
}

.section-card {
  margin-bottom: 3rem;
}

.section-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-card:nth-child(1) { animation-delay: 0.1s; }
.section-card:nth-child(2) { animation-delay: 0.2s; }
.section-card:nth-child(3) { animation-delay: 0.3s; }


.button-container .button:hover {
  background-color: #57cbb4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}








/*-----------------------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------This is for @media 768px (tablet and higher) styling-----------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------------------------------------------*/
@media (min-width: 768px) {
    .card-content {
    flex-direction: row;
    align-items: center;
  }

  .card-content img,
  .video-container {
    max-width: 50%;
  }

  .card-text {
    flex: 1;
    padding-left: 2rem;
  }

  .projects-card h2,
  .projects-card p {
    text-align: left;
    max-width: 600px;
  }

  .page-header{
    max-width: 600px;
  }
}








