/* ---------------- Connect Section ---------------- */
.connect-section {
  /* background-color: #f9f9f9; */
  /* font-family: Arial, sans-serif; */
}

.connectlogo {
  width: 85%;
  z-index: 100;
}

/* Decorative Quarter Circles */
.decoration {
  position: absolute;
  pointer-events: none;
  /* Prevents interfering with interaction */
}

.top-circle {
  top: 40%;
  height: 250px;
  left: 38%;
  transform: rotate(270deg);
}

/* ---------------- Connect Section ---------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Two-column grid */
.connect-grid {
  margin-top: 8rem;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

/* Center the image inside its column */
.connect-image {
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
  text-align: center;
}

.connect-image img {
  width: 60%;
  max-width: 400px;
  /* Adjust as needed */
  height: auto;
  /* display: block; */
  z-index: 100;
}

/* Right: Content */
.connect-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background-color: var(--wistful-o);
  border-radius: 30px;
}

/* Logo + Heading */
.connect-heading {
  display: flex;
  align-items: center;
  /* margin-top: 1rem; */
  gap: 1rem;
  margin-bottom: 1.5rem;
}


.connect-heading h1 {
  font-size: 2.2rem;
  color: var(--chambray-2, #4a90e2);
  margin: 0;
  line-height: 1.3;
}

/* Hero Text */
.connect-hero p {
  font-size: 1.1rem;
  color: #394f89;
  ;
  line-height: 1.7;
  margin: 0 0 0.5rem;
}

/* Custom Styled Features List */
.features-list {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0;
  color: #394f89;
  line-height: 1.7;
  font-weight: bold;
}

.features-list li {
  position: relative;
  padding-left: 32px;
  /* Space for the icon */
  margin-bottom: 0.5rem;
}

.features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  /* Adjust size as needed */
  height: 20px;
  background-image: url('Images/bulletdot.png');
  /* Your image */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* App Store Links */
/* App Store Links - Centered */
.app-links {
  text-align: center;
  /* Centers inline/inline-block children */
  margin: 2rem 0;
}

.app-links .playlogo {
  width: 200px;
  margin: 0 10px;
  /* Spacing between the two logos */
  transition: transform 0.3s ease;
  color: #333;
  /* transition: opacity 0.2s; */
}

.playlogo:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
}

/* ---------------- Feature Cards ---------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: auto;
  margin-bottom: 2rem;
  max-width: 1400px;
  padding: 0 20px;
}

.feature-card {
  background-color: var(--card);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  color: #333;
  box-shadow: 0px 5px 10px rgba(0, 15, 43, 0.322);
}

.card-header {
  width: fit-content;
  margin: auto;
}

.line {
  height: 4px;
  background-color: var(--line-colour);
  margin: auto;
  /* Left-aligned */
  /* width: 60%; */
  margin-bottom: 1rem;
}

/* .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
} */

.icon {
  width: 64px;
  height: 64px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}


/* Responsive */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .connect-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin-bottom: 0rem;
    margin-top: 5rem;
  }

  .connect-heading {
    justify-content: center;
    text-align: center;
  }

  .connect-hero,
  .features-list {
    text-align: center;
  }
}