/* ===============================
   Free Social Media Services Section
=================================== */
  
.free-services-section {
  padding: 50px 15px;
  background-color: #ecf3ff !important;
}

.free-services-section h1, .free-services-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 800;
}

.cta-section-main {
  background-color: #fff;
  margin-top: 80px;
  margin-bottom: 60px;
  padding: 0 15px;
}


.cta-section {
  background: #3740FF;
  padding: 60px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(68, 68, 235, 0.3);
}

.cta-content {
  color: #fff;
}

.cta-content-div {
  width: 90%;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  background: linear-gradient(135deg, #FCE10D 0%, #FBB62C 100%);
  color: #000;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(252, 225, 13, 0.3);
  min-height: 44px; /* Better touch target */
  line-height: 1.2;
}

.cta-button:hover {
  background: linear-gradient(135deg, #FBB62C 0%, #FCE10D 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 225, 13, 0.4);
  text-decoration: none;
}

/* --- CTA Section Responsive Styles --- */

/* Large Tablets and Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
.cta-section-main {
  margin-top: 60px;
  margin-bottom: 50px;
  padding: 0 15px;
}

.cta-section {
  padding: 50px 25px;
}

.cta-content h2 {
  font-size: 28px;
}

.cta-content p {
  font-size: 17px;
}
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
.cta-section-main {
  margin-top: 50px;
  margin-bottom: 40px;
  padding: 0 15px;
}

.cta-section {
  padding: 45px 20px;
  border-radius: 16px;
}

.cta-content-div {
  width: 92%;
}

.cta-content h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 16px;
  margin-bottom: 25px;
}

.cta-button {
  padding: 14px 30px;
  font-size: 15px;
}
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
.cta-section-main {
  margin-top: 40px;
  margin-bottom: 30px;
  padding: 0 10px;
}

.cta-section {
  padding: 35px 20px;
  border-radius: 15px;
}

.cta-content-div {
  width: 95%;
}

.cta-content h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 15px;
  margin-bottom: 20px;
}

.cta-button {
  padding: 13px 28px;
  font-size: 15px;
}
}

/* Mobile Medium (481px - 575px) */
@media (max-width: 575px) {
.cta-section-main {
  margin-top: 35px;
  margin-bottom: 25px;
  padding: 0 10px;
}

.cta-section {
  padding: 30px 15px;
  border-radius: 12px;
}

.cta-content-div {
  width: 95%;
}

.cta-content h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 14px;
  margin-bottom: 18px;
}

.cta-button {
  padding: 12px 25px;
  font-size: 14px;
  border-radius: 7px;
}
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
.cta-section-main {
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.cta-section {
  padding: 25px 15px;
  border-radius: 10px;
}

.cta-content-div {
  width: 100%;
}

.cta-content h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.cta-button {
  padding: 12px 24px;
  font-size: 14px;
  width: 100%;
  text-align: center;
}
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
.cta-section-main {
  margin-top: 25px;
  margin-bottom: 15px;
  padding: 0 5px;
}

.cta-section {
  padding: 20px 10px;
}

.cta-content h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 13px;
  margin-bottom: 12px;
}

.cta-button {
  padding: 11px 20px;
  font-size: 13px;
}
}

/* --- Card Container --- */
.free-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 15px 20px 5px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-bottom: 4px solid #D3F2FF;
}

.free-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* --- Header (Logo + Title + freebadge) --- */
.free-card .free-card-header {
  display: flex;
  margin-bottom: 10px;
}

.free-card .free-card-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.free-card .free-card-header h5 {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.free-card .free-card-header .freebadge {
  background-color: #3d5af1;
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  padding: 2px 13px 2px 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* --- List Links --- */
.free-card .list-group a {
  background-color: #D3F2FF;
  color: #0b132b;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.free-card .list-group a:hover {
  background-color: #D3F2FF;
  transform: translateX(3px);
}

.free-card .list-group a::after {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("../images/freeserviceicon/right-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Hidden Items (Initially Hidden) --- */
.free-card .list-group .hidden-item {
  display: none;
}

/* --- Schema span elements shouldn't affect layout --- */
.free-card .list-group span[itemscope] {
  display: contents;
}

/* --- Expand Toggle Button --- */
.expand-toggle {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expand-toggle:hover {
  opacity: 0.7;
}

.expand-toggle .arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* --- Responsive Adjustments --- */

/* Large Tablets and Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
  .free-services-section {
    padding: 40px 15px;
  }
  
  .free-services-section h1, .free-services-section h2 {
    margin-bottom: 40px;
    font-size: 28px;
  }
  
  .free-card {
    padding: 25px 25px 5px 25px;
  }
  
  .free-card .free-card-header img {
    width: 55px;
    height: 55px;
  }
  
  .free-card .free-card-header h5 {
    font-size: 17px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .free-services-section {
    padding: 35px 15px;
  }
  
  .free-services-section h1, .free-services-section h2 {
    margin-bottom: 35px;
    font-size: 26px;
  }
  
  .free-card {
    margin-bottom: 25px;
    padding: 20px 20px 5px 20px;
  }
  
  .free-card .free-card-header {
    margin-bottom: 18px;
  }
  
  .free-card .free-card-header img {
    width: 50px;
    height: 50px;
  }
  
  .free-card .free-card-header h5 {
    font-size: 16px;
  }
  
  .free-card .list-group a {
    font-size: 15px;
    padding: 11px 14px;
    margin-bottom: 8px;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
  .free-services-section {
    padding: 30px 10px;
  }
  
  .free-services-section h1, .free-services-section h2 {
    margin-bottom: 30px;
    font-size: 24px;
  }
  
  .free-card {
    margin-bottom: 20px;
    padding: 18px 18px 5px 18px;
    border-radius: 15px;
  }
  
  .free-card .free-card-header {
    margin-bottom: 15px;
  }
  
  .free-card .free-card-header img {
    width: 45px;
    height: 45px;
  }
  
  .free-card .free-card-header h5 {
    font-size: 15px;
  }
  
  .free-card .free-card-header .freebadge {
    font-size: 11px;
    padding: 3px 6px;
  }
  
  .free-card .list-group a {
    font-size: 14px;
    padding: 10px 12px;
    margin-bottom: 7px;
    border-radius: 8px;
  }
  
  .expand-toggle .arrow-icon {
    width: 18px;
    height: 18px;
  }
}

/* Mobile Medium (481px - 575px) */
@media (max-width: 575px) {
  .free-services-section {
    padding: 25px 10px;
  }
  
  .free-services-section h1, .free-services-section h2 {
    margin-bottom: 25px;
    font-size: 22px;
  }
  
  .free-card {
    margin-bottom: 18px;
    padding: 15px 15px 5px 15px;
    border-radius: 12px;
  }
  
  .free-card .free-card-header {
    margin-bottom: 12px;
  }
  
  .free-card .free-card-header img {
    width: 40px;
    height: 40px;
  }
  
  .free-card .free-card-header h5 {
    font-size: 14px;
  }
  
  .free-card .free-card-header .freebadge {
    font-size: 10px;
    padding: 2px 5px;
  }
  
  .free-card .list-group a {
    font-size: 13px;
    padding: 9px 10px;
    margin-bottom: 6px;
    border-radius: 6px;
  }
  
  .free-card .list-group a::after {
    width: 14px;
    height: 14px;
  }
  
  .expand-toggle .arrow-icon {
    width: 16px;
    height: 16px;
  }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
  .free-services-section {
    padding: 20px 10px;
  }
  
  .free-services-section h1, .free-services-section h2 {
    margin-bottom: 20px;
    font-size: 20px;
    padding: 0 15px;
  }
  
  .free-card {
    margin-bottom: 15px;
    padding: 12px 12px 5px 12px;
    border-radius: 10px;
  }
  
  .free-card .free-card-header {
    margin-bottom: 10px;
  }
  
  .free-card .free-card-header img {
    width: 35px;
    height: 35px;
  }
  
  .free-card .free-card-header h5 {
    font-size: 13px;
  }
  
  .free-card .free-card-header .freebadge {
    font-size: 9px;
    padding: 2px 4px;
    margin-left: 5px;
  }
  
  .free-card .list-group a {
    font-size: 12px;
    padding: 8px 9px;
    margin-bottom: 5px;
    border-radius: 5px;
  }
  
  .free-card .list-group a::after {
    width: 12px;
    height: 12px;
  }
  
  .expand-toggle .arrow-icon {
    width: 14px;
    height: 14px;
  }
}
/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
  .free-services-section h1, .free-services-section h2 {
    font-size: 18px;
    padding: 0 10px;
  }
  
  .free-card {
    padding: 10px 10px 5px 10px;
  }
  
  .free-card .free-card-header img {
    width: 30px;
    height: 30px;
  }
  
  .free-card .free-card-header h5 {
    font-size: 12px;
  }
  
  .free-card .list-group a {
    font-size: 11px;
    padding: 7px 8px;
  }
  
  .free-card .list-group a::after {
    width: 10px;
    height: 10px;
  }
}

