.container-mine {
    padding: 40px 40px;
      max-width: 1100px;
      margin: auto;
}

.services-header {
    background: linear-gradient(135deg, #982224, #451519, #4d7cb1);
    padding: 60px 20px;
    text-align: center;
    color: white;
  }

  .services-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
  }

.section-head {
    text-align: center;
    margin-bottom: 10px;
    color: #982223;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #982223;
}

.card:hover {
    background-color: #451519;
    color: white;
}

.card:hover i{
    color: #fff;
}

.card i {
    font-size: 40px;
    color: #982223;
    margin-bottom: 10px;
}

.subs-section {
    margin-top: 60px;
}

.cards-sub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.sub-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sub-card:hover {
  background-color: #451519;
  color: white;
}

.sub-card img {
  width: 100%;
  object-fit: contain;
  /* padding: 30px; */
}

.sub-card h3 {
  font-size: 1.5rem;
  margin: 20px;
  transition: color 0.3s ease;
}

.sub-card p {
  font-size: 1rem;
  margin: 0 20px 15px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.sub-card ul {
  list-style: none;
  padding: 0 20px;
  margin-bottom: 20px;
}

.sub-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}

.sub-card button {
  margin: 0 20px 20px;
  padding: 12px 20px;
  border: none;
  background: linear-gradient(to right, #4d7cb1, #982223);
  color: white;
  font-weight: bold;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: scale(1);
}

.sub-card:hover button {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sub-card .btn{
    margin-top: auto;
}


.sub-card .learn-more {
  margin: 0 20px 20px;
  color: #982223;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.sub-card:hover .learn-more {
  color: #f2f2f2;
}

.packages-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
}

.container3 {
  max-width: 900px;
  margin: auto;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #4d7cb1;
}

.section-title span {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  color: #666;
}

.section-intro,
.section-conclusion {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

.package-block {
  margin-bottom: 30px;
}

/* Default LTR */
.package-heading {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
  border-left: 4px solid #007acc;
  padding-left: 10px;
  padding-right: 0;
}

/* RTL override */
[dir="rtl"] .package-heading {
  border-left: none;
  border-right: 4px solid #007acc;
  padding-left: 0;
  padding-right: 10px;
}


.package-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.package-list {
  list-style: none;
  padding-left: 20px;
}

.package-list li {
  position: relative;
  padding-left: 1.2em;
  padding-right: 1.2em;
  margin-bottom: 8px;
  color: #333;
}

.package-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007acc;
  font-size: 1.2em;
  line-height: 1;
}


/* RTL override */
[dir="rtl"] .package-list li::before {
  left: auto;     
  right: 0;    
}


@media (max-width: 600px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-title span {
    font-size: 1rem;
  }

  .package-heading {
    font-size: 1.1rem;
  }

  .section-intro,
  .section-conclusion {
    font-size: 1rem;
  }
}


/* Responsive adjustments */
@media (max-width: 600px) {
  .sub-card img {
    height: 160px;
  }

  .sub-card h3 {
    font-size: 1.3rem;
  }

  .sub-card p,
  .sub-card ul li {
    font-size: 0.95rem;
  }
}


@media (max-width: 768px) {
    .cards-sub{
        flex-direction: column;
    }
}