/*================================================================
  #contact-support: Contact & Support Section
================================================================*/

#contact-support {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

.cs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cs-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cs-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000001;
}

.cs-page-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

.cs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Tile Base Styles */
.cs-tile {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cs-tile-header {
    margin-bottom: 1.5rem;
}

.cs-tile-title {
    font-size: 1.75rem;
    font-weight: 600;
}

.cs-tile-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Contact Tile - Social Stack */
.cs-contact-tile .cs-social-stack-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px; /* Ensure space for the stack */
    width: 100%;
    margin-bottom: 2rem;
}

.cs-social-stack {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs-opa-center-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.cs-social-link {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, color 0.3s ease;
    transform: translate(-50%, -50%) rotate(calc(var(--angle))) translate(110px) rotate(calc(-1 * var(--angle)));
    top: 50%;
    left: 50%;
}

.cs-social-link:hover {
    transform: translate(-50%, -50%) rotate(calc(var(--angle))) translate(115px) rotate(calc(-1 * var(--angle)));
    color: #007bff;
}

.cs-social-link.xtwitter {color: #000000;}
.cs-social-link.fa-facebook-f { color: #1877F2; }
.cs-social-link.fa-instagram { color: #E4405F; }
.cs-social-link.fa-youtube { color: #FF0000; }
.cs-social-link.fa-tiktok { color: #000000; }
.cs-social-link.fa-envelope { color: #7f8c8d; }

.cs-direct-contact {
    display: none; /* Hidden on mobile, shown on larger screens */
}


/* Support Tile */
.cs-support-img {
    max-height: 150px;
    margin-bottom: 1.5rem;
}

.cs-support-text {
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 400px;
}

.cs-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.cs-btn-primary {
    background-color: #007bff;
    color: #fff;
}

.cs-btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.cs-btn i {
    margin-right: 0.5rem;
}

/* Color circles for background effect */
.cs-color-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(40px);
  z-index: 0;
}
.cs-color-circle.red {
  width: 150px;
  height: 150px;
  background: #ff6b6b;
  top: 10%;
  left: 10%;
}
.cs-color-circle.purple {
  width: 120px;
  height: 120px;
  background: #9d6bff;
  top: 50%;
  left: 60%;
}
.cs-color-circle.blue {
  width: 180px;
  height: 180px;
  background: #6bcfff;
  top: 30%;
  left: 25%;
}


/* Media Queries for larger screens */
@media (min-width: 768px) {
    .cs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .cs-tile {
        padding: 2.5rem;
    }
}

@media (min-width: 992px) {
    #contact-support {
        padding: 6rem 2rem;
    }
    .cs-page-header h1 {
        font-size: 3rem;
    }

    /* Make direct contact info visible on desktop */
    .cs-contact-tile .cs-social-stack-wrapper {
        margin-bottom: 1rem;
    }

    .cs-direct-contact {
        display: block;
        margin-top: 1.5rem;
    }
     .cs-direct-contact p {
        margin-bottom: 0.5rem;
        color: #6c757d;
    }
    .cs-direct-contact a {
        font-weight: 600;
        color: #007bff;
        text-decoration: none;
    }
     .cs-direct-contact a:hover {
        text-decoration: underline;
    }

}
