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

    .projects-section{
      width:90%;
      max-width:1200px;
      margin:40px auto;
      text-align:center;
    }

    .projects-section h1{
      font-size:70px;
      font-weight:300;
      margin-bottom:15px;
      letter-spacing:1px;
    }

    .quote{
      font-size:22px;
      margin-bottom:10px;
      color:#222;
    }

    .author{
      font-size:24px;
      margin-bottom:35px;
      color:#222;
    }

    .divider{
      width:72%;
      margin:0 auto 35px;
      border:none;
      border-top:2px solid #8d8d8d;
    }

    .gallery{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:14px;
    }
    .gallery1{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:40px;
    }

    .gallery-item{
      position:relative;
      overflow:hidden;
      cursor:pointer;
      background:#fff;
    }

    .gallery-item img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      transition:0.4s ease;
    }

    .gallery-item:hover img{
      transform:scale(1.05);
    }

    .view-btn{
      margin-top:40px;
      padding:14px 40px;
      border:1px solid #666;
      background:transparent;
      color:#555;
      font-size:18px;
      cursor:pointer;
      transition:0.3s;
    }

    .view-btn:hover{
      background:#111;
      color:#fff;
    }

    /* MODAL */

    .modal{
      position:fixed;
      inset:0;
      background:rgba(0,0,0,0.9);
      display:none;
      justify-content:center;
      align-items:center;
      z-index:999;
      padding:30px;
    }

    .modal.active{
      display:flex;
    }

    .modal img{
      max-width:90%;
      max-height:90vh;
      border-radius:6px;
    }

    .close-btn{
      position:absolute;
      top:25px;
      right:35px;
      font-size:45px;
      color:#fff;
      cursor:pointer;
      font-weight:300;
    }

    @media(max-width:768px){

      .projects-section h1{
        font-size:45px;
      }

      .gallery{
        grid-template-columns:repeat(2,1fr);
      }
    }

    @media(max-width:500px){

      .gallery{
        grid-template-columns:1fr;
      }

      .quote,
      .author{
        font-size:18px;
      }
    }