


/* ===============================

   🌟 PORTFOLIO HERO SECTION

=============================== */

.portfolio-hero {

  position: relative;

  padding-top: 140px !important;

  text-align: center;

  padding: 80px 20px;

  background: linear-gradient(135deg, #15333a, #334146, #476);

  color: #fff;

}

.portfolio-hero h1 {

  font-size: 2.8rem;

  color: #5e7b87;

  margin-bottom: 10px;

}

.portfolio-hero p {

  font-size: 1.2rem;

  opacity: 0.9;

  margin-bottom: 10px;

}



/* ===============================

   🎉 WELCOME POPUP

=============================== */

.welcome-popup {

  position: fixed;

  top: 25px;

  left: 50%;

  transform: translateX(-50%);

  background: #47606a;

  color: #fff;

  padding: 15px 25px;

  border-radius: 30px;

  font-weight: 600;

  opacity: 0;

  pointer-events: none;

  z-index: 999;

  transition: opacity 0.6s ease, transform 0.6s ease;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);

}

.welcome-popup.show {

  opacity: 1;

  transform: translateX(-50%) translateY(0);

  pointer-events: auto;

}



/* ===============================

   🌟 PORTFOLIO FEATURED WORKS

=============================== */

.portfolio-featured {

  background: #f4f6f7;

  padding: 60px 20px;

  text-align: center;

}

.portfolio-featured h2 {

  font-size: 2rem;

  margin-bottom: 30px;

  color: #15333a;

}



.portfolio-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 25px;

  max-width: 1100px;

  margin: 0 auto;

}



.portfolio-item {

  position: relative;

  overflow: hidden;

  border-radius: 12px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.2);

  cursor: pointer;

  transform: translateY(40px);

  opacity: 0;

  transition: all 0.6s ease;

}

.portfolio-item.visible {

  transform: translateY(0);

  opacity: 1;

}

.portfolio-item img {

  width: 100%;

  display: block;

  transition: transform 0.5s ease;

}

.portfolio-item:hover img {

  transform: scale(1.1);

}

.overlay {

  position: absolute;

  inset: 0;

  background: rgba(21,51,58,0.8);

  color: #fff;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  opacity: 0;

  transition: opacity 0.4s ease;

}

.portfolio-item:hover .overlay {

  opacity: 1;

}

.overlay h3 {

  font-size: 1.4rem;

  margin-bottom: 5px;

  color: #5e7b87;

}

.overlay p {

  font-size: 1rem;

  margin-bottom: 10px;

}

.overlay a {

  background: #5e7b87;

  color: #fff;

  padding: 8px 16px;

  border-radius: 25px;

  text-decoration: none;

  font-weight: 600;

}

.overlay a:hover {

  background: #47606a;

}



/* ===============================

   📂 PORTFOLIO CATEGORIES

=============================== */

.portfolio-categories {

  padding: 60px 20px;

  background: #334146;

  color: #fff;

  text-align: center;

}

.portfolio-categories h2 {

  font-size: 2rem;

  margin-bottom: 30px;

  color: #5e7b87;

}

.category-blocks {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  gap: 20px;

  max-width: 1000px;

  margin: 0 auto;

}

.category-card {

  background: #15333a;

  padding: 30px 20px;

  border-radius: 12px;

  transition: transform 0.3s ease, background 0.3s ease;

}

.category-card i {

  font-size: 2rem;

  color: #5e7b87;

  margin-bottom: 10px;

}

.category-card:hover {

  transform: translateY(-5px);

  background: #1e4853;

}



/* ===============================

   📣 PORTFOLIO CTA SECTION

=============================== */

.portfolio-cta {

  text-align: center;

  padding: 50px 20px;

  background: #f1f3f5;

}

.portfolio-cta p {

  font-size: 1.3rem;

  margin-bottom: 15px;

}

.portfolio-cta .cta-btn {

  background: #47606a;

  color: #fff;

  padding: 12px 25px;

  border-radius: 25px;

  text-decoration: none;

  font-weight: 600;

  transition: background 0.3s ease, transform 0.3s ease;

}

.portfolio-cta .cta-btn:hover {

  background: #5e7b87;

  transform: translateY(-3px);

}



/* ===============================

   🌈 ANIMATION KEYFRAMES (unchanged)

=============================== */

@keyframes fadeInUp {

  from {opacity: 0; transform: translateY(30px);}

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

}

@keyframes shakeBomb {

  0% { transform: translate(-50%, 0); }

  20% { transform: translate(-50%, -10px) rotate(-5deg); }

  40% { transform: translate(-50%, 10px) rotate(5deg); }

  60% { transform: translate(-50%, -8px) rotate(-4deg); }

  80% { transform: translate(-50%, 8px) rotate(4deg); }

  100% { transform: translate(-50%, 0) rotate(0deg); }

}


/* ===============================

   🌀 Portfolio Grid 3D Style

=============================== */

.portfolio-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 25px;

  max-width: 1100px;

  margin: 0 auto;

  perspective: 1000px; /* enables 3D look */

}



.portfolio-card {

  background: transparent;

  width: 100%;

  height: 280px;

  cursor: pointer;

  position: relative;

  transform-style: preserve-3d;

  transition: transform 0.7s;

}



.portfolio-card:hover {

  transform: rotateY(180deg);

}



.portfolio-card .card-inner {

  position: relative;

  width: 100%;

  height: 100%;

  transform-style: preserve-3d;

}



.card-front,

.card-back {

  position: absolute;

  width: 100%;

  height: 100%;

  border-radius: 14px;

  backface-visibility: hidden;

  overflow: hidden;

  box-shadow: 0 8px 25px rgba(0,0,0,0.2);

}



.card-front img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.4s;

}



.card-front:hover img {

  transform: scale(1.05);

}



.card-back {

  background: linear-gradient(135deg, #15333a, #334146);

  color: #fff;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  transform: rotateY(180deg);

}



.card-back h3 {

  font-size: 1.2rem;

  margin-bottom: 5px;

  color: #5e7b87;

}



.card-back p {

  font-size: 0.95rem;

  opacity: 0.9;

}



/* ===============================

   💼 PORTFOLIO CONTACT SECTION (PRO)

=============================== */

.contact-section-pro {

  background: #f4f6f7;

  padding: 80px 10%;

}



.contact-container-pro {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 40px;

  max-width: 1200px;

  margin: 0 auto;

}



/* Left side - Contact Info */

.contact-left-pro {

  flex: 1;

  text-align: left;

}



.contact-left-pro h2 {

  font-size: 1.8rem;

  color: #15333a;

  margin-bottom: 15px;

  display: flex;

  align-items: center;

  gap: 10px;

}



.contact-left-pro p {

  margin-bottom: 25px;

  color: #444;

  font-size: 1rem;

}



.contact-cards-pro {

  display: flex;

  flex-direction: column;

  gap: 15px;

}



.contact-card-pro {

  background: #fff;

  padding: 14px 18px;

  border-radius: 10px;

  display: flex;

  align-items: center;

  gap: 12px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.contact-card-pro i {

  color: #47606a;

  font-size: 1.2rem;

}



.contact-card-pro a,

.contact-card-pro span {

  text-decoration: none;

  color: #333;

  font-size: 0.95rem;

}



.contact-card-pro:hover {

  transform: translateX(5px);

  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

}



/* Right side - CTA box */

.contact-right-pro {

  flex: 1;

  background: linear-gradient(135deg, #15333a, #334146);

  color: #fff;

  padding: 30px;

  border-radius: 12px;

  text-align: center;

  display: flex;

  flex-direction: column;

  justify-content: center;

  box-shadow: 0 6px 20px rgba(0,0,0,0.15);

}



.contact-right-pro h3 {

  font-size: 1.5rem;

  margin-bottom: 10px;

  color: #5e7b87;

}



.contact-right-pro p {

  margin-bottom: 20px;

  font-size: 1rem;

  color: #e0e0e0;

}



.contact-btn-pro {

  display: inline-block;

  background: #47606a;

  color: #fff;

  padding: 12px 22px;

  border-radius: 25px;

  font-weight: 600;

  text-decoration: none;

  transition: all 0.3s ease;

}



.contact-btn-pro:hover {

  background: #5e7b87;

  transform: translateY(-3px);

}



/* Responsive */

@media (max-width: 900px) {

  .contact-container-pro {

    flex-direction: column;

    gap: 30px;

  }

  .contact-right-pro {

    text-align: center;

  }

}
