/**
Theme Name: Salima Child Theme
Author: salima
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salima
Template: astra
*/
/* Grid Layout */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600&display=swap');
/* === Portfolio Grid Layout === */
.portfolio-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

/* === Portfolio Card === */
.portfolio-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.25s ease-in-out;
  font-family: "Lexend", sans-serif;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

/* === Image === */
.portfolio-card-image img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* === Header (title + button) === */
.portfolio-card-header {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
}

.portfolio-card-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #0f172a;
  text-decoration: none;
  flex: 1;
}

.portfolio-card-title:hover {
  color: #e94b61;
}

/* === Arrow Button === */
.portfolio-icon-button {
  border: 0;
  background: #e94b61;
  color: #fff;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.portfolio-icon-button:hover {
  background: #fceef5;
  color: #e94b61;
}

/* === Meta (project type + short description) === */
.portfolio-card-meta {
  margin-top: 0.5rem;
  padding: 0 12px 16px 12px;
  line-height: 1.5;
}

.portfolio-card-meta .project-type {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  margin: 0;
}

.portfolio-card-meta .short_description {
  font-size: 0.85rem;
  font-weight: 400;
  color: #565656;
  margin-top: 0.25rem;
}

/* === Responsive Design === */

/* Tablets */
@media (max-width: 1024px) {
  .portfolio-card-list {
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .portfolio-card-image img {
    height: 220px;
  }

  .portfolio-card-title {
    font-size: 1rem;
  }

  .portfolio-icon-button {
    width: 2.2rem;
    height: 2.2rem;
  }
}

/* Mobile Landscape / Small Tablets */
@media (max-width: 768px) {
  .portfolio-card-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .portfolio-card-image img {
    height: 180px;
  }

  .portfolio-card-meta {
    padding-bottom: 12px;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .portfolio-card-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .portfolio-card-image img {
    height: 160px;
  }

  .portfolio-card-header {
    padding: 5px 10px;
  }

  .portfolio-card-title {
    font-size: 1rem;
  }

  .portfolio-icon-button {
    width: 2rem;
    height: 2rem;
  }

  .portfolio-card-meta .short_description {
    font-size: 0.8rem;
  }
}
/* === Related Projects Section === */
.related-projects {
  margin-top: 4rem;
  padding: 0 1rem;
}

.related-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #0f172a;
}

.related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* === Related Card === */
.related-card {
  display: block;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Thumbnail */
.related-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Content */
.related-content {
  padding: 1rem 1.2rem 1.5rem;
}

.related-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.related-title:hover {
  color: #e94b61;
}

/* Project Type */
.related-type {
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

/* Short Description / Excerpt */
.related-excerpt {
  font-size: 0.85rem;
  color: #565656;
  line-height: 1.5;
}

/* === Responsive === */
@media (max-width: 768px) {
  .related-posts {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .related-thumbnail img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .related-posts {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .related-thumbnail img {
    height: 160px;
  }

  .related-content {
    padding: 0.8rem 1rem 1.2rem;
  }
}
.typewriter-subheading {
  display: inline-block;      /* important: inline-block keeps cursor inline */
  overflow: hidden;
  white-space: nowrap;
  position: relative;         /* needed for pseudo-element */
}

.typewriter-subheading::after {
  content: '|';
  position: absolute;         /* position relative to the element */
  right: 0;                   /* cursor at the end of text */
  top: 0;
  color: #e94b61;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
.h1-hero {
  font-family: 'Plus Jakarta Sans', sans-serif; /* your H1 font */
  font-weight: 700;
  font-size: 4rem; /* adjust for desktop, use media queries for responsive */
  background: linear-gradient(90deg, #e94b61, #fceef5, #e94b61);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}