/* Main Container */
.port_name {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

/* CTA Card */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 280px;
  background: rgba(77, 77, 77, 0.15);
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  backdrop-filter: blur(12px);
}

.cta:hover {
  transform: translateY(-12px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6);
}

/* Image Styling */
.port_image {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #ffb3009f;
}

/* Heading */
.text h2 {
  font-size: 30px;
  color: #fff;
  margin: 16px 0;
  font-weight: bold;
}

/* Paragraph */
.text p {
  font-size: 18px;
  color: #eee;
  line-height: 1.8;
}

/* Responsive Design */

/* 1024px (Larger Tablets & Small Laptops) */
@media (max-width: 1024px) {
  .port_name {
    max-width: 90%;
    gap: 30px;
    padding: 50px;
  }

  .cta {
    width: 260px;
    padding: 25px;
  }

  .text h2 {
    font-size: 28px;
  }

  .text p {
    font-size: 16px;
  }
}

/* 768px (iPads & Smaller Tablets) */
@media (max-width: 768px) {
  .port_name {
    max-width: 85%;
    gap: 25px;
    padding: 40px;
  }

  .cta {
    width: 240px;
    padding: 20px;
  }

  .port_image {
    width: 140px;
    height: 140px;
  }

  .text h2 {
    font-size: 26px;
  }

  .text p {
    font-size: 15px;
  }
}

/* 480px (Mobile Devices) */
@media (max-width: 480px) {
  .port_name {
    max-width: 80%;
    gap: 20px;
    padding: 30px;
  }

  .cta {
    width: 100%;
    max-width: 260px;
    padding: 18px;
  }

  .port_image {
    width: 120px;
    height: 120px;
  }

  .text h2 {
    font-size: 24px;
  }

  .text p {
    font-size: 14px;
    line-height: 1.6;
  }
}