/* Base styles for all screen sizes */
.Social-head {
  background-color: #115de0;
  color: white;
  padding: 40px;
  text-align: center;
}

.Social-head h1 {
  margin: 0;
}

.Social-head p {
  margin: 5px 0 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.social-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  padding: 40px;
  width: 300px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 40px;
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.social-card h2 {
  margin: 10px 0;
  font-size: 2em;
}

.social-card p {
  font-size: 1.2em;
  color: #666;
}

/* Media Queries for Responsive Design (Higher to Lower) */

/* For screens smaller than 2561px */
@media (max-width: 2560px) {
  .Social-head {
    padding: 30px;
  }

  .social-links {
    gap: 30px;
    margin-top: 30px;
  }

  .social-card {
    width: 250px;
    padding: 30px;
    margin: 30px;
  }

  .social-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 15px;
  }

  .social-card h2 {
    font-size: 1.8em;
  }

  .social-card p {
    font-size: 1.1em;
  }
}

/* For screens smaller than 1920px */
@media (max-width: 1919px) {
  .Social-head {
    padding: 25px;
  }

  .social-links {
    gap: 25px;
    margin-top: 25px;
  }

  .social-card {
    width: 220px;
    padding: 25px;
    margin: 25px;
  }

  .social-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .social-card h2 {
    font-size: 1.5em;
  }

  .social-card p {
    font-size: 1em;
  }
}

/* For screens smaller than 1024px (Tablets) */
@media (max-width: 1023px) {
  .Social-head {
    padding: 20px;
  }

  .social-links {
    gap: 20px;
    margin-top: 20px;
  }

  .social-card {
    width: 180px;
    padding: 20px;
    margin: 20px;
  }

  .social-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .social-card h2 {
    font-size: 1.3em;
  }

  .social-card p {
    font-size: 0.9em;
  }
}

/* For screens smaller than 768px (Mobile Landscape) */
@media (max-width: 767px) {
  .Social-head {
    padding: 15px;
  }

  .social-links {
    gap: 15px;
    margin-top: 15px;
  }

  .social-card {
    width: 150px;
    padding: 15px;
    margin: 15px;
  }

  .social-card img {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .social-card h2 {
    font-size: 1.1em;
  }

  .social-card p {
    font-size: 0.8em;
  }
}

/* For screens smaller than 480px (Mobile Portrait) */
@media (max-width: 479px) {
  .Social-head {
    padding: 10px;
  }

  .social-links {
    gap: 10px;
    margin-top: 10px;
  }

  .social-card {
    width: 120px;
    padding: 10px;
    margin: 10px;
  }

  .social-card img {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }

  .social-card h2 {
    font-size: 1em;
  }

  .social-card p {
    font-size: 0.7em;
  }
}

/* For screens smaller than 321px (Very Small Devices) */
@media (max-width: 320px) {
  .Social-head {
    padding: 8px;
  }

  .social-links {
    gap: 8px;
    margin-top: 8px;
  }

  .social-card {
    width: 100px;
    padding: 8px;
    margin: 8px;
  }

  .social-card img {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
  }

  .social-card h2 {
    font-size: 0.9em;
  }

  .social-card p {
    font-size: 0.6em;
  }
}