/* General Container Styles (to center content) */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Centers content */
    padding: 0 20px; /* Adds padding on the sides */
}

.contact-info ul,
.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-info li,
.contact-list li {
    display: flex;
    align-items: center; /* Vertically align the icons and text */
    gap: 12px; /* Space between icon and text */
}

.contact-info a,
.contact-list a {
    color: #f0f0f0;
    font-size: 1.4em;
    text-decoration: none;
    border-radius: 30px;
    padding: 12px 18px;
    transition: background 0.3s ease;
    display: flex;
    gap: 12px;
}

.contact-info a:hover,
.contact-list a:hover {
    background: rgba(255, 255, 255, 0.35);
}

.contact-info img,
.contact-list img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

/* Contact Columns */
.contact-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.contact-info {
    flex: 2;
}

/* Right column styling */
.contact-right {
    flex: 1;
    padding-top: 20px;
    color: #fff;
    font-size: 1.5em;
}

/* Circle Stack container to position circles next to each other */
.circle-stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50px);
}

/* Common Circle styling */
.circle-image,
.second-circle,
.third-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    position: absolute;
}

.circle-image {
    top: 0;
    left: 0;
}

.second-circle {
    left: 100%; /* Position it to the right of the first circle */
    top: 20%;   /* Move it down by 20% of its size */
    transform: translateX(-35%) translateY(35%); /* Adjust position */
}

.third-circle {
    left: 50%; /* Position it below the first circle */
    top: 100%; /* Position it below the first circle by 100% */
    transform: translateX(-40%) translateY(120%); /* Adjust position */
}

/* Ensure images inside the circle take up the full circle size */
.circle-image img,
.second-circle img,
.third-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover; /* Ensures the image covers the circle */
}

@media (max-width: 768px) {
    .contact-columns {
      flex-direction: column;
      gap: 30px;
      align-items: center;
    }
  
    h2 {
      font-size: 1.6em;
    }
  
    .circle-stack {
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        transform: none;
        margin: 0 auto;
        padding-bottom: 20px;
    }
  
    .circle-image,
    .second-circle,
    .third-circle {
      position: static !important; /* force override of absolute */
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 3px solid #fff;
      overflow: hidden;
      flex-shrink: 0;
      transform: none !important; /* remove transform offsets */
    }
  
  
    .circle-image img,
    .second-circle img,
    .third-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }
  
    .contact-info a,
    .contact-list a {
      font-size: 1.1em;
      padding: 10px 14px;
    }
  
    .contact-info img,
    .contact-list img {
      width: 24px;
      height: 24px;
    }
  }