:root{
  --primaryColor:#338d78;
  --middleColor:#4cac97f2;
  --helperColor:#48BDA3F2;
  --lightHelper:#DBDBDB;
  --transparentColor:#66d2cf88;
  --shadow:rgba(189, 188, 188, 0.514);
 /* --------------------------------- */
  --whatsappColor:#25D366;
  --white:#ffff;
  --blue: #1877F2;
  --green: #25D366;

  --gray:  #f8f8f8;
}
  /* ================= Portfolio Section ================= */
  .portfolio {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--shadow);
    padding: 50px 0;
    animation: fadeIn 1s ease-in-out;
  }
  
  .portfolio h1 {
    color: var(--primaryColor);
    font-size: 2.5rem;
    width: fit-content;
    border-bottom: 4px solid var(--primaryColor);
    margin: 0 auto;
    padding-bottom: 5px;
    position: relative;
    animation: slideDown 1s ease;
  }
  
  .portfolio h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: var(--helperColor);
    border-radius: 5px;
    animation: expandLine 1.5s ease forwards;
  }
  
  /* ================= Grid Layout ================= */
  .portfolio-grid {
    width: 80%;
    margin: auto;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    animation: fadeUp 1.2s ease;
  }
  
/* ===== Project Card - Clean Modern Style ===== */
.project {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 320px;
    margin: auto;
    text-align: center;
  }
  
  .project:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  }
  
  .project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  .project a div {
    padding: 20px;
  }


  
  /* ===== Gradient Button ===== */
  .project button {
    background: linear-gradient(135deg, var(--helperColor), var(--primaryColor));
    color: var(--white);
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.3s ease;
  }
  
  .project button:hover {
    background: linear-gradient(135deg, var(--primaryColor), var(--helperColor));
    transform: scale(1.05);
  }
  
  /* ===== Links Style ===== */
  .project a {
    width: 100%;
    display: inline-block;
    color: var(--helperColor);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .project a:hover {
    color: var(--primaryColor);
  }
  
  
  /* ================= Animations ================= */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  @keyframes fadeUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  @keyframes expandLine {
    from { width: 0; }
    to { width: 40%; }
  }
  
  /* ================= Responsive ================= */
  @media (max-width: 600px) {
    .portfolio-grid {
      grid-template-columns: 1fr;
      gap: 40px;
      width: 95%;
    }
  
    .project {
      width: 95%;
    }
  }
  
  @media (min-width: 601px) and (max-width: 800px) {
    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
  }
  
  @media (min-width: 801px) and (max-width: 970px) {
    .portfolio-grid {
      width: 95%;
      grid-template-columns: repeat(2, 1fr);
      gap: 50px;
    }
  }
  
  @media (min-width: 971px) and (max-width: 1200px) {
    .portfolio-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
    }
  }
  
  @media (min-width: 1201px) and (max-width: 1404px) {
    .portfolio-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
    }
  }
  